Building energy consumption flatness-based control using algebraic on-line estimation