Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01079/0.01079, allocations: 107.1 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001192/0.001192, allocations: 181.9 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.018/2.018, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.279/2.279, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006998/0.0007, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6706, allocations: 98.7 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.9108, allocations: 128.5 MB / 0.8089 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.9112, allocations: 91.94 kB / 0.809 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0309/0.9421, allocations: 7.268 MB / 0.8161 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9422, allocations: 0 / 0.8161 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.373e-05/0.9422, allocations: 8 kB / 0.8161 GB, free: 6.211 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001618/0.9439, allocations: 0.6764 MB / 0.8168 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.9439, allocations: 8.031 kB / 0.8168 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.9441, allocations: 86.52 kB / 0.8169 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.9443, allocations: 55.67 kB / 0.8169 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/0.9449, allocations: 338.4 kB / 0.8173 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/0.945, allocations: 41 kB / 0.8173 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.9452, allocations: 48 kB / 0.8173 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.9467, allocations: 0.5137 MB / 0.8178 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.9467, allocations: 0 / 0.8178 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.9468, allocations: 16 kB / 0.8179 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/0.9469, allocations: 25 kB / 0.8179 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.9484, allocations: 455.6 kB / 0.8183 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.9519, allocations: 1.376 MB / 0.8197 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.9533, allocations: 421.7 kB / 0.8201 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.9534, allocations: 8.422 kB / 0.8201 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008341/0.9543, allocations: 265.3 kB / 0.8203 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 3.838e-06/0.9543, allocations: 0 / 0.8203 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52): time 0.001974/0.9563, allocations: 0.5611 MB / 0.8209 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.9564, allocations: 71.73 kB / 0.8209 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.9568, allocations: 247.8 kB / 0.8212 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.957, allocations: 49.7 kB / 0.8212 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.9571, allocations: 189.2 kB / 0.8214 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.9573, allocations: 126.4 kB / 0.8215 GB, free: 452 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.9574, allocations: 16 kB / 0.8215 GB, free: 436 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9576, allocations: 346.8 kB / 0.8219 GB, free: 80 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.9583, allocations: 193.2 kB / 0.8221 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.959, allocations: 266 kB / 0.8223 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.9597, allocations: 212.8 kB / 0.8225 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.9597, allocations: 4 kB / 0.8225 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001722/0.9615, allocations: 0.5648 MB / 0.8231 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.9616, allocations: 37.69 kB / 0.8231 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.9616, allocations: 224 / 0.8231 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.9616, allocations: 8 kB / 0.8231 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.9621, allocations: 75.83 kB / 0.8232 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.9622, allocations: 7.938 kB / 0.8232 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.9629, allocations: 99.52 kB / 0.8233 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/0.963, allocations: 24 kB / 0.8233 GB, free: 14.55 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004281/0.9634, allocations: 225.7 kB / 0.8235 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.9635, allocations: 27.62 kB / 0.8236 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.9651, allocations: 499 kB / 0.824 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.9652, allocations: 4 kB / 0.824 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.9652, allocations: 4 kB / 0.824 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.9652, allocations: 3.984 kB / 0.824 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.9681, allocations: 1.129 MB / 0.8251 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.9681, allocations: 0 / 0.8251 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.9685, allocations: 47.91 kB / 0.8252 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.9685, allocations: 3.953 kB / 0.8252 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.9686, allocations: 11.98 kB / 0.8252 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.9686, allocations: 4 kB / 0.8252 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9686, allocations: 0 / 0.8252 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.97, allocations: 0.5461 MB / 0.8257 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.9702, allocations: 108.6 kB / 0.8258 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.9703, allocations: 15.95 kB / 0.8259 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.9708, allocations: 59.94 kB / 0.8259 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.9711, allocations: 72.45 kB / 0.826 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.9712, allocations: 20 kB / 0.826 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002309/0.9714, allocations: 160.5 kB / 0.8262 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9714, allocations: 4 kB / 0.8262 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006343/0.9721, allocations: 103.9 kB / 0.8263 GB, free: 11.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/0.974, allocations: 1.134 MB / 0.8274 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.9758, allocations: 0.5307 MB / 0.8279 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9758, allocations: 0 / 0.8279 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007659/0.9766, allocations: 239.2 kB / 0.8281 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.9771, allocations: 44.36 kB / 0.8282 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.9832, allocations: 3.228 MB / 0.8313 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.9838, allocations: 0.8321 MB / 0.8321 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004005/0.9842, allocations: 63.38 kB / 0.8322 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.9846, allocations: 135.4 kB / 0.8323 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.9846, allocations: 0 / 0.8323 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/1.022, allocations: 7.871 MB / 0.84 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/1.022, allocations: 212.3 kB / 0.8402 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/3.892, allocations: 3.938 kB / 0.8402 GB, free: 13.16 MB / 0.6667 GB