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.517/4.517, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 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.002626/0.002626, allocations: 360 kB / 0.6446 GB, free: 21.55 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.163/4.163, allocations: 410.7 MB / 1.113 GB, free: 15.68 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.001841/0.001841, allocations: 191.1 kB / 1.226 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006366/0.0006369, allocations: 11.12 kB / 1.349 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2172, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.422, allocations: 142 MB / 1.6 GB, free: 78.59 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000467/0.4225, allocations: 97.03 kB / 1.6 GB, free: 78.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.03024/0.4528, allocations: 7.393 MB / 1.607 GB, free: 71.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4529, allocations: 0.6562 kB / 1.607 GB, free: 71.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.895e-05/0.4529, allocations: 8 kB / 1.607 GB, free: 71.11 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.001378/0.4543, allocations: 0.6808 MB / 1.608 GB, free: 70.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4544, allocations: 8.75 kB / 1.608 GB, free: 70.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.4545, allocations: 47.44 kB / 1.608 GB, free: 70.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.455, allocations: 329.5 kB / 1.608 GB, free: 69.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.4551, allocations: 45 kB / 1.608 GB, free: 69.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.4552, allocations: 48 kB / 1.608 GB, free: 69.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.4565, allocations: 0.5236 MB / 1.609 GB, free: 69.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.4566, allocations: 7.953 kB / 1.609 GB, free: 69.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.4566, allocations: 20 kB / 1.609 GB, free: 69.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.4567, allocations: 17.5 kB / 1.609 GB, free: 69.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.458, allocations: 446 kB / 1.609 GB, free: 68.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.4609, allocations: 1.402 MB / 1.611 GB, free: 67.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.4621, allocations: 435.3 kB / 1.611 GB, free: 66.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/0.4627, allocations: 207.6 kB / 1.611 GB, free: 66.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.4628, allocations: 10.09 kB / 1.611 GB, free: 66.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007142/0.4635, allocations: 266.8 kB / 1.612 GB, free: 66.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=52): time 3.487e-06/0.4635, allocations: 4 kB / 1.612 GB, free: 66.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52): time 0.001737/0.4652, allocations: 0.5567 MB / 1.612 GB, free: 65.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4653, allocations: 63.83 kB / 1.612 GB, free: 65.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.4656, allocations: 275.6 kB / 1.613 GB, free: 65.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.4657, allocations: 53.7 kB / 1.613 GB, free: 65.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4659, allocations: 197.2 kB / 1.613 GB, free: 65.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.466, allocations: 122.4 kB / 1.613 GB, free: 65.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.4661, allocations: 12 kB / 1.613 GB, free: 65.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.4662, allocations: 347.1 kB / 1.613 GB, free: 64.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.4668, allocations: 192.4 kB / 1.613 GB, free: 64.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/0.4674, allocations: 276.4 kB / 1.614 GB, free: 64.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.468, allocations: 207.7 kB / 1.614 GB, free: 64.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.468, allocations: 4 kB / 1.614 GB, free: 64.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001491/0.4695, allocations: 0.5733 MB / 1.614 GB, free: 63.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.4696, allocations: 33.7 kB / 1.614 GB, free: 63.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4696, allocations: 3.938 kB / 1.614 GB, free: 63.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4696, allocations: 4 kB / 1.614 GB, free: 63.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.4701, allocations: 75.8 kB / 1.615 GB, free: 63.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.4701, allocations: 7.938 kB / 1.615 GB, free: 63.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.4708, allocations: 90.59 kB / 1.615 GB, free: 63.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.4709, allocations: 27.92 kB / 1.615 GB, free: 63.36 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.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.0003426/0.4712, allocations: 233.6 kB / 1.615 GB, free: 63.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.4713, allocations: 38.25 kB / 1.615 GB, free: 63.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.4727, allocations: 490.2 kB / 1.615 GB, free: 62.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.4727, allocations: 8 kB / 1.615 GB, free: 62.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4727, allocations: 0 / 1.615 GB, free: 62.59 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4727, allocations: 3.984 kB / 1.615 GB, free: 62.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.4751, allocations: 1.125 MB / 1.616 GB, free: 61.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.4751, allocations: 0 / 1.616 GB, free: 61.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.4754, allocations: 51.19 kB / 1.617 GB, free: 61.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4755, allocations: 4 kB / 1.617 GB, free: 61.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.4755, allocations: 15.98 kB / 1.617 GB, free: 61.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4755, allocations: 0 / 1.617 GB, free: 61.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4755, allocations: 0 / 1.617 GB, free: 61.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.4767, allocations: 0.5454 MB / 1.617 GB, free: 60.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.4768, allocations: 116.7 kB / 1.617 GB, free: 60.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.4769, allocations: 12 kB / 1.617 GB, free: 60.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.4774, allocations: 57.19 kB / 1.617 GB, free: 60.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4776, allocations: 72.45 kB / 1.617 GB, free: 60.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.4777, allocations: 19.98 kB / 1.617 GB, free: 60.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001699/0.4779, allocations: 164.5 kB / 1.618 GB, free: 60.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4779, allocations: 0 / 1.618 GB, free: 60.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005387/0.4784, allocations: 96 kB / 1.618 GB, free: 60.25 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.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.0002225/0.4787, allocations: 151.8 kB / 1.618 GB, free: 60.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.48, allocations: 0.5283 MB / 1.618 GB, free: 59.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.48, allocations: 0 / 1.618 GB, free: 59.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.4806, allocations: 249 kB / 1.619 GB, free: 59.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.4812, allocations: 57.75 kB / 1.619 GB, free: 59.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4828, allocations: 0.8081 MB / 1.619 GB, free: 58.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.4831, allocations: 0.8238 MB / 1.62 GB, free: 57.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.4835, allocations: 63.73 kB / 1.62 GB, free: 57.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.4837, allocations: 43.42 kB / 1.62 GB, free: 57.5 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.4837, allocations: 0 / 1.62 GB, free: 57.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.01323/0.4969, allocations: 4.375 MB / 1.625 GB, free: 53.22 MB / 0.8073 GB