Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.623/2.623, allocations: 287.9 MB / 302.9 MB, free: 8.273 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.001472/0.001472, allocations: 181.1 kB / 371.4 MB, free: 10.63 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.171/2.171, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001036/0.001036, allocations: 90.56 kB / 0.7434 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007526/0.0007528, allocations: 19 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1561, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.002869/0.159, allocations: 2.331 MB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1616, allocations: 1.471 MB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.1619, allocations: 15.94 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.1623, allocations: 135.3 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.1627, allocations: 143.5 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1638, allocations: 366.5 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.1644, allocations: 483.5 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.1649, allocations: 398.5 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.1652, allocations: 227.2 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.1655, allocations: 254.8 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.662e-05/0.1656, allocations: 24 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.1658, allocations: 91.77 kB / 0.9845 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.166, allocations: 131.5 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1661, allocations: 129.4 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.1668, allocations: 0.6978 MB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1668, allocations: 0 / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1668, allocations: 0 / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.332e-06/0.1668, allocations: 4 kB / 0.9855 GB, free: 21.26 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001426/0.1683, allocations: 0.884 MB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1683, allocations: 12.02 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.1685, allocations: 71.23 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.1692, allocations: 453.8 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.1692, allocations: 45 kB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/0.1693, allocations: 59.98 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1705, allocations: 0.5583 MB / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1706, allocations: 0 / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.1707, allocations: 19.95 kB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1707, allocations: 12 kB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1719, allocations: 467.7 kB / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.1747, allocations: 1.563 MB / 0.9895 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.1759, allocations: 0.4942 MB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.176, allocations: 8.562 kB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000698/0.1767, allocations: 322.9 kB / 0.9903 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=63): time 4.695e-06/0.1767, allocations: 4 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63): time 0.001742/0.1785, allocations: 0.6702 MB / 0.9909 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1786, allocations: 115.4 kB / 0.991 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/0.1792, allocations: 0.5012 MB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/0.1793, allocations: 53.69 kB / 0.9916 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1795, allocations: 253.1 kB / 0.9918 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.1796, allocations: 157.9 kB / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.1797, allocations: 15.94 kB / 0.992 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1798, allocations: 370.8 kB / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.1804, allocations: 201.9 kB / 0.9925 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.181, allocations: 324.8 kB / 0.9928 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.1816, allocations: 224.9 kB / 0.9931 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.107e-06/0.1816, allocations: 4 kB / 0.9931 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001433/0.183, allocations: 0.6194 MB / 0.9937 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.1831, allocations: 41.67 kB / 0.9937 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1831, allocations: 7.984 kB / 0.9937 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.1832, allocations: 7.953 kB / 0.9937 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.1836, allocations: 83.83 kB / 0.9938 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.1836, allocations: 8 kB / 0.9938 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.1841, allocations: 99.41 kB / 0.9939 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.1842, allocations: 24 kB / 0.9939 GB, free: 12.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.condition,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.condition,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con3.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con4.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.booToInt.y,chiStaCon.booToInt1.y,chiStaCon.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0003972/0.1846, allocations: 275.5 kB / 0.9942 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.1847, allocations: 51.34 kB / 0.9942 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.1861, allocations: 0.5786 MB / 0.9948 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.592e-06/0.1861, allocations: 12 kB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.309e-06/0.1862, allocations: 3.953 kB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.1862, allocations: 3.984 kB / 0.9948 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.1888, allocations: 1.34 MB / 0.9961 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.37e-06/0.1889, allocations: 0 / 0.9961 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.1892, allocations: 59.84 kB / 0.9962 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.1892, allocations: 4 kB / 0.9962 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.1893, allocations: 19.98 kB / 0.9962 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.376e-06/0.1893, allocations: 0 / 0.9962 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.112e-06/0.1893, allocations: 0 / 0.9962 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.1906, allocations: 0.6318 MB / 0.9968 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1908, allocations: 148.2 kB / 0.997 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/0.1909, allocations: 19.98 kB / 0.997 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.1914, allocations: 51.95 kB / 0.997 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.1916, allocations: 104.4 kB / 0.9971 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.1917, allocations: 23.98 kB / 0.9972 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000407/0.1921, allocations: 339.1 kB / 0.9975 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.2e-07/0.1921, allocations: 0 / 0.9975 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006604/0.1928, allocations: 155.7 kB / 0.9976 GB, free: 8.355 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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.condition,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.condition,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con3.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con4.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.booToInt.y,chiStaCon.booToInt1.y,chiStaCon.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002434/0.1952, allocations: 0.7 MB / 0.9983 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.1967, allocations: 0.5853 MB / 0.9989 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.755e-06/0.1967, allocations: 0 / 0.9989 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.1973, allocations: 287.6 kB / 0.9992 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.1979, allocations: 90.08 kB / 0.9992 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1999, allocations: 1.143 MB / 1 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.2003, allocations: 0.9008 MB / 1.001 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003816/0.2007, allocations: 92.64 kB / 1.001 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.2009, allocations: 59.41 kB / 1.001 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of SimCode: time 1.554e-06/0.2009, allocations: 0 / 1.001 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of Templates: time 0.01774/0.2186, allocations: 7.15 MB / 1.008 GB, free: 13.59 MB / 0.6355 GB