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.008902/0.008902, allocations: 111.3 kB / 15.06 MB, free: 5.562 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.001116/0.001116, allocations: 180.9 kB / 15.95 MB, free: 5.523 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 1.95/1.95, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.436/2.436, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004689, allocations: 12 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5453, allocations: 98.7 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.002705/0.5481, allocations: 2.005 MB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.5505, allocations: 1.229 MB / 0.6865 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.5508, allocations: 10.22 kB / 0.6865 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.5511, allocations: 109.5 kB / 0.6866 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.5514, allocations: 103.6 kB / 0.6867 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/0.5525, allocations: 273.7 kB / 0.687 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.5531, allocations: 419.2 kB / 0.6874 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005701/0.5537, allocations: 358.2 kB / 0.6877 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.554, allocations: 189.7 kB / 0.6879 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.5544, allocations: 227.8 kB / 0.6881 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.5545, allocations: 23.88 kB / 0.6881 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.5548, allocations: 102.8 kB / 0.6882 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.5549, allocations: 107.3 kB / 0.6883 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.5551, allocations: 104 kB / 0.6884 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008707/0.5559, allocations: 0.5966 MB / 0.689 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.871e-06/0.556, allocations: 0 / 0.689 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.317e-06/0.556, allocations: 0 / 0.689 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.556, allocations: 0 / 0.689 GB, free: 13.48 MB / 0.5261 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.001606/0.5576, allocations: 0.8047 MB / 0.6898 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5577, allocations: 10.31 kB / 0.6898 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.5579, allocations: 61.03 kB / 0.6899 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.5585, allocations: 381 kB / 0.6902 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.5586, allocations: 42 kB / 0.6903 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5587, allocations: 53.39 kB / 0.6903 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.5601, allocations: 0.536 MB / 0.6909 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5602, allocations: 0 / 0.6909 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.5603, allocations: 25.27 kB / 0.6909 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.5603, allocations: 15.36 kB / 0.6909 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.5617, allocations: 458.4 kB / 0.6913 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.5649, allocations: 1.476 MB / 0.6928 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.5662, allocations: 497.7 kB / 0.6932 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.5663, allocations: 10.2 kB / 0.6933 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008053/0.5671, allocations: 320.7 kB / 0.6936 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=61): time 4.882e-06/0.5671, allocations: 0 / 0.6936 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.001962/0.5691, allocations: 0.6826 MB / 0.6942 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.5692, allocations: 67.58 kB / 0.6943 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.5697, allocations: 367 kB / 0.6946 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.5698, allocations: 57.75 kB / 0.6947 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.57, allocations: 219 kB / 0.6949 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.5702, allocations: 147.9 kB / 0.695 GB, free: 10 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.5702, allocations: 15.22 kB / 0.6951 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5703, allocations: 356.7 kB / 0.6954 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.571, allocations: 203.3 kB / 0.6956 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.5716, allocations: 294.4 kB / 0.6959 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.5722, allocations: 274.6 kB / 0.6961 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.321e-06/0.5723, allocations: 4 kB / 0.6961 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001603/0.5739, allocations: 0.6777 MB / 0.6968 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.574, allocations: 88.02 kB / 0.6969 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.574, allocations: 6.031 kB / 0.6969 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.574, allocations: 5.5 kB / 0.6969 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.5744, allocations: 75.53 kB / 0.697 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.5745, allocations: 10.11 kB / 0.697 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.575, allocations: 94.84 kB / 0.6971 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.18e-05/0.5751, allocations: 32.56 kB / 0.6971 GB, free: 8.766 MB / 0.5261 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.0004294/0.5755, allocations: 251.2 kB / 0.6973 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.442e-05/0.5756, allocations: 42.77 kB / 0.6974 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.5771, allocations: 0.5812 MB / 0.698 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5772, allocations: 6.125 kB / 0.698 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.527e-06/0.5772, allocations: 4 kB / 0.698 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5772, allocations: 5.203 kB / 0.698 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.5799, allocations: 1.298 MB / 0.6992 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5799, allocations: 3.984 kB / 0.6992 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.5802, allocations: 53.97 kB / 0.6993 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.915e-06/0.5803, allocations: 1.406 kB / 0.6993 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.5803, allocations: 19.91 kB / 0.6993 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.04e-06/0.5803, allocations: 6.875 kB / 0.6993 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.417e-06/0.5804, allocations: 4 kB / 0.6993 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5817, allocations: 0.6352 MB / 0.6999 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.5818, allocations: 124.3 kB / 0.7001 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.5819, allocations: 24.31 kB / 0.7001 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.5824, allocations: 62.61 kB / 0.7001 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.5826, allocations: 84.03 kB / 0.7002 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.5827, allocations: 27.25 kB / 0.7002 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002918/0.583, allocations: 233.4 kB / 0.7005 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.74e-07/0.5831, allocations: 0 / 0.7005 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007147/0.5838, allocations: 138 kB / 0.7006 GB, free: 6.559 MB / 0.5261 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.0009538/0.5847, allocations: 316 kB / 0.7009 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.5863, allocations: 0.699 MB / 0.7016 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.578e-06/0.5863, allocations: 0 / 0.7016 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.587, allocations: 282.6 kB / 0.7019 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.5875, allocations: 50.34 kB / 0.7019 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.5895, allocations: 0.9915 MB / 0.7029 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5899, allocations: 0.865 MB / 0.7037 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003796/0.5903, allocations: 68.67 kB / 0.7038 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.5905, allocations: 51.89 kB / 0.7038 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of SimCode: time 1.591e-06/0.5905, allocations: 0 / 0.7038 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of Templates: time 0.01543/0.606, allocations: 5.445 MB / 0.7091 GB, free: 1.652 MB / 0.5261 GB