HVAC system optimization for energy management by evolutionary programming