Urban building cooling systems exhibit strong temporal nonlinearity and complex coupling among environmental and operational variables, which significantly affect building system performance and energy efficiency. To improve the operational reliability and energy-saving performance of building engineering systems, this study proposes an artificial intelligence-based optimization framework that integrates a bidirectional long short-term memory (BiLSTM) network with particle swarm optimization and the downhill simplex method (PSOCC-NM). Historical cooling load, outdoor temperature, relative humidity, solar radiation, and equipment operating conditions are integrated to establish a dynamic load prediction model for building cooling systems. Subsequently, a shrinkage coefficient-based particle swarm optimization algorithm combined with the downhill simplex method is employed to achieve closed-loop prediction, optimization, control, and feedback. Experimental results demonstrate that the proposed model achieves a mean absolute error of 8.21 kW, a root mean square error of 12.35 kW, a mean absolute percentage error of 4.12%, and an R² value of 0.961. In addition, the proposed framework reduces energy consumption by 23.42%, converges within 28 iterations, and achieves a stability index of 0.027. These results demonstrate that the proposed method effectively enhances the energy efficiency, operational reliability, and control performance of urban building systems, providing an intelligent solution for the modeling and optimization of complex engineering systems.