Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.968/4.968, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002511/0.002511, allocations: 358.8 kB / 0.644 GB, free: 21.64 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.179/4.179, allocations: 410.7 MB / 1.112 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002784/0.002784, allocations: 174 kB / 1.225 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005034, allocations: 15.59 kB / 1.348 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1659, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.002154/0.1681, allocations: 1.82 MB / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1696, allocations: 0.9194 MB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.1698, allocations: 11.94 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.17, allocations: 39.59 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1702, allocations: 41.86 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.1706, allocations: 160.2 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.1711, allocations: 0.5501 MB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.1716, allocations: 316.2 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1718, allocations: 156 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.172, allocations: 177.2 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.1721, allocations: 24 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1722, allocations: 32 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.1723, allocations: 87.66 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.1724, allocations: 101.5 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.1728, allocations: 0.4995 MB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.165e-06/0.1729, allocations: 0 / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.108e-06/0.1729, allocations: 0.75 kB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.69e-06/0.1729, allocations: 0 / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001099/0.174, allocations: 0.6677 MB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1741, allocations: 12.73 kB / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1742, allocations: 56.05 kB / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.1746, allocations: 330.1 kB / 1.467 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.1747, allocations: 45.66 kB / 1.467 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.1748, allocations: 56.61 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1759, allocations: 0.5157 MB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.176, allocations: 3.938 kB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.176, allocations: 25.19 kB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.1761, allocations: 20.98 kB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.1772, allocations: 454 kB / 1.468 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.1796, allocations: 1.416 MB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.1806, allocations: 418.2 kB / 1.469 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.1811, allocations: 211.9 kB / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.1811, allocations: 8.422 kB / 1.47 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.1818, allocations: 267.2 kB / 1.47 GB, free: 211.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=52): time 5.103e-06/0.1818, allocations: 0.875 kB / 1.47 GB, free: 211.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52): time 0.00146/0.1833, allocations: 0.5611 MB / 1.47 GB, free: 210.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1833, allocations: 63.84 kB / 1.471 GB, free: 210.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1836, allocations: 268.6 kB / 1.471 GB, free: 210.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.1837, allocations: 58.34 kB / 1.471 GB, free: 210.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1838, allocations: 200.2 kB / 1.471 GB, free: 210 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.184, allocations: 126.3 kB / 1.471 GB, free: 209.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.184, allocations: 12 kB / 1.471 GB, free: 209.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.1841, allocations: 346.8 kB / 1.471 GB, free: 209.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.1846, allocations: 185.2 kB / 1.472 GB, free: 209.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.1852, allocations: 285.3 kB / 1.472 GB, free: 209 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.1857, allocations: 207.5 kB / 1.472 GB, free: 208.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.445e-06/0.1857, allocations: 0.625 kB / 1.472 GB, free: 208.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001321/0.1871, allocations: 0.5685 MB / 1.473 GB, free: 208.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.1871, allocations: 35.89 kB / 1.473 GB, free: 208.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.827e-06/0.1872, allocations: 0.7812 kB / 1.473 GB, free: 208.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.1872, allocations: 11.95 kB / 1.473 GB, free: 208.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.1876, allocations: 69.39 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1876, allocations: 11.94 kB / 1.473 GB, free: 208.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.1881, allocations: 111 kB / 1.473 GB, free: 208 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.1881, allocations: 23.98 kB / 1.473 GB, free: 208 MB / 0.8073 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.condition,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,$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.condition,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,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.0003151/0.1885, allocations: 231.7 kB / 1.473 GB, free: 207.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.1886, allocations: 32.47 kB / 1.473 GB, free: 207.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.1897, allocations: 0.4899 MB / 1.474 GB, free: 207.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1897, allocations: 8.656 kB / 1.474 GB, free: 207.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.676e-06/0.1897, allocations: 3.953 kB / 1.474 GB, free: 207.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.234e-06/0.1898, allocations: 0.75 kB / 1.474 GB, free: 207.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.1919, allocations: 1.138 MB / 1.475 GB, free: 206 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-06/0.192, allocations: 0 / 1.475 GB, free: 206 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1922, allocations: 48.91 kB / 1.475 GB, free: 206 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.404e-06/0.1923, allocations: 5.156 kB / 1.475 GB, free: 206 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.1923, allocations: 8 kB / 1.475 GB, free: 206 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.1923, allocations: 0 / 1.475 GB, free: 206 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.299e-06/0.1923, allocations: 0 / 1.475 GB, free: 206 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1934, allocations: 0.5479 MB / 1.475 GB, free: 205.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1935, allocations: 120.5 kB / 1.475 GB, free: 205.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.1936, allocations: 12 kB / 1.475 GB, free: 205.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.1939, allocations: 52.77 kB / 1.476 GB, free: 205.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.1941, allocations: 74.73 kB / 1.476 GB, free: 205.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.1942, allocations: 19.98 kB / 1.476 GB, free: 205.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001662/0.1944, allocations: 160.5 kB / 1.476 GB, free: 205 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.83e-07/0.1944, allocations: 0 / 1.476 GB, free: 205 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005551/0.1949, allocations: 115.7 kB / 1.476 GB, free: 204.9 MB / 0.8073 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.condition,cooModCon.con1.fire,cooModCon.con1.t_start,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.condition,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.condition,cooModCon.con4.fire,cooModCon.con4.t_start,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.0002141/0.1952, allocations: 142.7 kB / 1.476 GB, free: 204.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.1964, allocations: 0.5303 MB / 1.477 GB, free: 204.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.28e-06/0.1964, allocations: 0 / 1.477 GB, free: 204.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.1969, allocations: 241.2 kB / 1.477 GB, free: 204 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1975, allocations: 52.39 kB / 1.477 GB, free: 203.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.199, allocations: 0.8195 MB / 1.478 GB, free: 203.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1993, allocations: 0.8248 MB / 1.478 GB, free: 202.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003071/0.1997, allocations: 67.11 kB / 1.479 GB, free: 202.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.1998, allocations: 43.36 kB / 1.479 GB, free: 202.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.714e-06/0.1999, allocations: 2.438 kB / 1.479 GB, free: 202.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.01174/0.2116, allocations: 4.482 MB / 1.483 GB, free: 197.8 MB / 0.8073 GB