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 2.55/2.55, allocations: 287.9 MB / 302.9 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 175.2 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.4 MB / 0.6301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001709/0.001709, allocations: 92.92 kB / 0.7434 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004598, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.002157/0.1584, allocations: 1.815 MB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.16, allocations: 0.913 MB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.1602, allocations: 7.938 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.1604, allocations: 39.66 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1606, allocations: 63.77 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.161, allocations: 151.8 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.1615, allocations: 367.8 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.1619, allocations: 317.5 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1621, allocations: 163.4 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1623, allocations: 171.2 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.1623, allocations: 20 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1625, allocations: 35.98 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.1626, allocations: 91.64 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.1627, allocations: 93.52 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.1631, allocations: 0.4951 MB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.102e-06/0.1631, allocations: 4 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.042e-06/0.1632, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.1632, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 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.001058/0.1642, allocations: 0.6765 MB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1643, allocations: 12.02 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1644, allocations: 55.39 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.1648, allocations: 330.3 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.1649, allocations: 44.98 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.165, allocations: 52 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1661, allocations: 0.5176 MB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1662, allocations: 3.984 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.1662, allocations: 19.98 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.1663, allocations: 25 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.1674, allocations: 459.6 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.1698, allocations: 1.403 MB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009597/0.1708, allocations: 421.7 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.1708, allocations: 8.438 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006037/0.1715, allocations: 269.2 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=52): time 3.976e-06/0.1715, allocations: 4 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52): time 0.001413/0.1729, allocations: 0.5572 MB / 0.9881 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.173, allocations: 71.72 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1733, allocations: 268.6 kB / 0.9884 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.1733, allocations: 53.7 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1735, allocations: 197.2 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1736, allocations: 134.2 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1736, allocations: 12 kB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.1737, allocations: 346.8 kB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.1742, allocations: 189.2 kB / 0.9893 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.1748, allocations: 274 kB / 0.9895 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.1753, allocations: 208.9 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.523e-06/0.1753, allocations: 0 / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001239/0.1766, allocations: 0.5649 MB / 0.9903 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.1766, allocations: 39.41 kB / 0.9903 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1767, allocations: 224 / 0.9903 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1767, allocations: 12 kB / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.177, allocations: 75.78 kB / 0.9904 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1771, allocations: 7.938 kB / 0.9904 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.1775, allocations: 107.4 kB / 0.9905 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.1776, allocations: 20 kB / 0.9905 GB, free: 15.79 MB / 0.6198 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.0002935/0.1779, allocations: 233.6 kB / 0.9908 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.178, allocations: 31.62 kB / 0.9908 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.1791, allocations: 495 kB / 0.9913 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-06/0.1791, allocations: 8 kB / 0.9913 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.841e-06/0.1791, allocations: 3.953 kB / 0.9913 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.346e-06/0.1792, allocations: 7.984 kB / 0.9913 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.1812, allocations: 1.133 MB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.337e-06/0.1813, allocations: 0 / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.1815, allocations: 47.91 kB / 0.9924 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.428e-06/0.1815, allocations: 4 kB / 0.9924 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.1816, allocations: 15.98 kB / 0.9925 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.321e-06/0.1816, allocations: 0 / 0.9925 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.958e-06/0.1816, allocations: 0 / 0.9925 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.1826, allocations: 0.5461 MB / 0.993 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.1827, allocations: 112.6 kB / 0.9931 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.1828, allocations: 15.98 kB / 0.9931 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.1831, allocations: 59.94 kB / 0.9932 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.1834, allocations: 76.39 kB / 0.9932 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.1834, allocations: 16 kB / 0.9933 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001606/0.1836, allocations: 164.5 kB / 0.9934 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.08e-07/0.1836, allocations: 4 kB / 0.9934 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005318/0.1841, allocations: 115.7 kB / 0.9935 GB, free: 12.62 MB / 0.6198 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.0002099/0.1844, allocations: 146 kB / 0.9937 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.1855, allocations: 0.5307 MB / 0.9942 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1855, allocations: 0 / 0.9942 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.1861, allocations: 243.1 kB / 0.9944 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1864, allocations: 50.61 kB / 0.9945 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1879, allocations: 0.8043 MB / 0.9953 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1882, allocations: 0.8283 MB / 0.9961 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002622/0.1885, allocations: 59.38 kB / 0.9961 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1886, allocations: 47.42 kB / 0.9962 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of SimCode: time 1.589e-06/0.1887, allocations: 0 / 0.9962 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of Templates: time 0.01115/0.1998, allocations: 4.472 MB / 1.001 GB, free: 5.445 MB / 0.6198 GB