Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadModel(Buildings): time 3.843/3.843, allocations: 432.7 MB / 445.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.87e-05, allocations: 4.188 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1757, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.3986, allocations: 130.9 MB / 0.7626 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006076/0.3993, allocations: 103.8 kB / 0.7627 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0731/0.4724, allocations: 10.65 MB / 0.7731 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.388e-06/0.4724, allocations: 0 / 0.7731 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.471e-05/0.4725, allocations: 16 kB / 0.7731 GB, free: 3.98 MB / 0.6511 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.002458/0.475, allocations: 0.7857 MB / 0.7739 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.4751, allocations: 8.031 kB / 0.7739 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.4754, allocations: 71.28 kB / 0.774 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.4766, allocations: 374.2 kB / 0.7743 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.4767, allocations: 48.98 kB / 0.7744 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.4769, allocations: 52 kB / 0.7744 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.4791, allocations: 0.5137 MB / 0.7749 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.4791, allocations: 8 kB / 0.7749 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.4793, allocations: 19.98 kB / 0.7749 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.4793, allocations: 8 kB / 0.7749 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.4813, allocations: 423.8 kB / 0.7753 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/0.4869, allocations: 1.442 MB / 0.7768 GB, free: 64 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4598/0.9467, allocations: 450.1 kB / 0.7772 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.9472, allocations: 212 kB / 0.7774 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.9473, allocations: 11.09 kB / 0.7774 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/0.948, allocations: 292.4 kB / 0.7777 GB, free: 136 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.368e-06/0.948, allocations: 0 / 0.7777 GB, free: 136 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001154/0.9491, allocations: 466.7 kB / 0.7781 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.9492, allocations: 65.97 kB / 0.7782 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.9497, allocations: 327.7 kB / 0.7785 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.9498, allocations: 54.38 kB / 0.7785 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.95, allocations: 209.4 kB / 0.7787 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.9501, allocations: 154.8 kB / 0.7789 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.9502, allocations: 13.78 kB / 0.7789 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9503, allocations: 357.3 kB / 0.7792 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.9508, allocations: 187 kB / 0.7794 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.9514, allocations: 269.6 kB / 0.7797 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.9519, allocations: 268.1 kB / 0.7799 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-06/0.9519, allocations: 1.969 kB / 0.7799 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001373/0.9533, allocations: 0.6511 MB / 0.7806 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.9533, allocations: 88.39 kB / 0.7807 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9534, allocations: 5.938 kB / 0.7807 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.9534, allocations: 9.641 kB / 0.7807 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.9538, allocations: 74.8 kB / 0.7807 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.9539, allocations: 5.812 kB / 0.7808 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.9544, allocations: 76.12 kB / 0.7808 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9545, allocations: 28.97 kB / 0.7809 GB, free: 134.8 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: 69 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$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,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$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.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * 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.0002149/0.9547, allocations: 177.6 kB / 0.781 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.9548, allocations: 47.52 kB / 0.7811 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.9563, allocations: 0.5358 MB / 0.7816 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.9563, allocations: 6.844 kB / 0.7816 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.096e-06/0.9564, allocations: 0.6562 kB / 0.7816 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.9564, allocations: 6.5 kB / 0.7816 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.9589, allocations: 1.251 MB / 0.7828 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.956e-06/0.9589, allocations: 4 kB / 0.7828 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.9592, allocations: 55.36 kB / 0.7829 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.9593, allocations: 3.016 kB / 0.7829 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.9593, allocations: 14.59 kB / 0.7829 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.9593, allocations: 2.141 kB / 0.7829 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.413e-06/0.9594, allocations: 3.312 kB / 0.7829 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.9605, allocations: 0.6003 MB / 0.7835 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.9606, allocations: 123.2 kB / 0.7836 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.9607, allocations: 19.38 kB / 0.7836 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.9612, allocations: 60.11 kB / 0.7837 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.9614, allocations: 86.06 kB / 0.7838 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/0.9615, allocations: 25.58 kB / 0.7838 GB, free: 134 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003133/0.9619, allocations: 228.1 kB / 0.784 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.43e-07/0.9619, allocations: 0 / 0.784 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007162/0.9626, allocations: 127 kB / 0.7841 GB, free: 133.9 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: 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.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.nextTime,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0008851/0.9635, allocations: 316.7 kB / 0.7844 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.9647, allocations: 0.6441 MB / 0.7851 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.671e-06/0.9647, allocations: 0 / 0.7851 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.9653, allocations: 260.3 kB / 0.7853 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.9657, allocations: 60.98 kB / 0.7854 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.9674, allocations: 0.6618 MB / 0.786 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.9678, allocations: 0.8647 MB / 0.7869 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.9682, allocations: 62.73 kB / 0.7869 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.9684, allocations: 42.8 kB / 0.787 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.708e-06/0.9684, allocations: 5.312 kB / 0.787 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.01659/0.985, allocations: 5.458 MB / 0.7923 GB, free: 132.3 MB / 0.6511 GB