Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01052/0.01052, allocations: 221.4 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001138/0.001138, allocations: 178.6 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.832/3.832, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.289/4.289, allocations: 472.3 MB / 0.9017 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004856, allocations: 12 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5725, allocations: 98.7 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.002869/0.5754, allocations: 2.015 MB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.5778, allocations: 1.238 MB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.5781, allocations: 14.09 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.5785, allocations: 101.8 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.5788, allocations: 91.81 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.5798, allocations: 286.2 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007547/0.5805, allocations: 0.6183 MB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.5811, allocations: 351.6 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.5813, allocations: 190.7 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.5817, allocations: 237.7 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.665e-05/0.5818, allocations: 27.12 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.5821, allocations: 107.8 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.5822, allocations: 106.4 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.5823, allocations: 106.6 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007176/0.5831, allocations: 0.5936 MB / 1.11 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.279e-06/0.5831, allocations: 0 / 1.11 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.84e-06/0.5831, allocations: 9 kB / 1.11 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5831, allocations: 0 / 1.11 GB, free: 209.5 MB / 0.7292 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.001413/0.5845, allocations: 0.8039 MB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5846, allocations: 8.906 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.5848, allocations: 58.66 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.5853, allocations: 383.1 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.5854, allocations: 46.98 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.5856, allocations: 52.09 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5869, allocations: 0.5359 MB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5869, allocations: 0.9688 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.587, allocations: 20.58 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.587, allocations: 14.58 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.5884, allocations: 468.7 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.5913, allocations: 1.462 MB / 1.114 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.5927, allocations: 0.4913 MB / 1.114 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005867/0.5933, allocations: 242.4 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.5933, allocations: 11.48 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007918/0.5941, allocations: 316.9 kB / 1.115 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=61): time 5.599e-06/0.5942, allocations: 3.812 kB / 1.115 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=61): time 0.001876/0.5961, allocations: 0.6846 MB / 1.115 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.5961, allocations: 70.14 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.5966, allocations: 368.4 kB / 1.116 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.929e-05/0.5967, allocations: 51.58 kB / 1.116 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.5969, allocations: 211.4 kB / 1.116 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.597, allocations: 158 kB / 1.116 GB, free: 206 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.5971, allocations: 11.94 kB / 1.116 GB, free: 206 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.5972, allocations: 356.7 kB / 1.117 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.5978, allocations: 206.9 kB / 1.117 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.5984, allocations: 288 kB / 1.117 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.599, allocations: 279.7 kB / 1.117 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.835e-06/0.599, allocations: 0.9062 kB / 1.117 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001542/0.6005, allocations: 0.6859 MB / 1.118 GB, free: 205 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.6006, allocations: 85.98 kB / 1.118 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.6006, allocations: 2.375 kB / 1.118 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.6007, allocations: 4.375 kB / 1.118 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.6011, allocations: 80.36 kB / 1.118 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.6011, allocations: 4.812 kB / 1.118 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.6016, allocations: 101.4 kB / 1.118 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.6017, allocations: 26.5 kB / 1.118 GB, free: 204.8 MB / 0.7292 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,$whenCondition6,$whenCondition5,$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,$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,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 (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.0004087/0.6021, allocations: 250.3 kB / 1.118 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.6022, allocations: 38.56 kB / 1.119 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.6037, allocations: 0.5827 MB / 1.119 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.6038, allocations: 7.438 kB / 1.119 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.6038, allocations: 6.5 kB / 1.119 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.6038, allocations: 8.625 kB / 1.119 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.6066, allocations: 1.289 MB / 1.12 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.958e-06/0.6066, allocations: 0 / 1.12 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.6069, allocations: 57.08 kB / 1.12 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.607, allocations: 6.547 kB / 1.12 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.607, allocations: 14.55 kB / 1.12 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.53e-06/0.607, allocations: 3.125 kB / 1.12 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-06/0.607, allocations: 0.6562 kB / 1.12 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.6085, allocations: 0.6438 MB / 1.121 GB, free: 203.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.6086, allocations: 123 kB / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.6087, allocations: 20.62 kB / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.6091, allocations: 60.78 kB / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.6094, allocations: 89.48 kB / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.6095, allocations: 25.06 kB / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002999/0.6098, allocations: 228.8 kB / 1.122 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.6e-07/0.6098, allocations: 1.062 kB / 1.122 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007067/0.6105, allocations: 139.4 kB / 1.122 GB, free: 203.1 MB / 0.7292 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.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) * Number of clocked states: 0 () * 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.0009318/0.6115, allocations: 318.8 kB / 1.122 GB, free: 203 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.6131, allocations: 0.6935 MB / 1.123 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.081e-06/0.6132, allocations: 0 / 1.123 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.6139, allocations: 285 kB / 1.123 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.6145, allocations: 61.48 kB / 1.123 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.6165, allocations: 0.9986 MB / 1.124 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.617, allocations: 0.8642 MB / 1.125 GB, free: 201.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.6174, allocations: 67.56 kB / 1.125 GB, free: 201.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.6176, allocations: 42.53 kB / 1.125 GB, free: 201.2 MB / 0.7292 GB Notification: Performance of SimCode: time 3.687e-06/0.6176, allocations: 0 / 1.125 GB, free: 201.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.01675/0.6344, allocations: 5.475 MB / 1.13 GB, free: 201.2 MB / 0.7292 GB