Reduced order modeling and parameter identification of a building energy system model through an optimization routine