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.009342/0.009341, allocations: 110 kB / 15.05 MB, free: 5.961 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.001094/0.001094, allocations: 185.2 kB / 15.94 MB, free: 5.926 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.932/1.932, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.148/2.148, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004616, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5369, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.7288, allocations: 131 MB / 0.8113 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.7292, allocations: 91.94 kB / 0.8114 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04201/0.7712, allocations: 10.7 MB / 0.8218 GB, free: 416 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7713, allocations: 4 kB / 0.8218 GB, free: 412 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.697e-05/0.7713, allocations: 8 kB / 0.8219 GB, free: 404 kB / 0.6355 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.001658/0.773, allocations: 0.833 MB / 0.8227 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.773, allocations: 8.031 kB / 0.8227 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.7732, allocations: 71.22 kB / 0.8227 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.7739, allocations: 370.2 kB / 0.8231 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.774, allocations: 45 kB / 0.8231 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.7741, allocations: 55.98 kB / 0.8232 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.7755, allocations: 0.5371 MB / 0.8237 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.7756, allocations: 0 / 0.8237 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.7756, allocations: 16 kB / 0.8237 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.7757, allocations: 12 kB / 0.8237 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.7771, allocations: 479.7 kB / 0.8242 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.7802, allocations: 1.438 MB / 0.8256 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.7816, allocations: 0.498 MB / 0.8261 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.7816, allocations: 5.5 kB / 0.8261 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.7825, allocations: 326.9 kB / 0.8264 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.834e-06/0.7825, allocations: 3.938 kB / 0.8264 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.002/0.7845, allocations: 0.6937 MB / 0.8271 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.7846, allocations: 67.95 kB / 0.8272 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.7851, allocations: 321.8 kB / 0.8275 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-05/0.7852, allocations: 57.69 kB / 0.8275 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.7855, allocations: 205.3 kB / 0.8277 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.7857, allocations: 158 kB / 0.8279 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.7857, allocations: 16 kB / 0.8279 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.786, allocations: 358.7 kB / 0.8282 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.7866, allocations: 209.9 kB / 0.8284 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.7873, allocations: 297.4 kB / 0.8287 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.788, allocations: 288.2 kB / 0.829 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.691e-06/0.788, allocations: 0 / 0.829 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00173/0.7898, allocations: 0.6932 MB / 0.8297 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.773e-05/0.7899, allocations: 94.5 kB / 0.8298 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7899, allocations: 4 kB / 0.8298 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7899, allocations: 4 kB / 0.8298 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.7903, allocations: 71.83 kB / 0.8298 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.7904, allocations: 7.938 kB / 0.8298 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.7908, allocations: 83.72 kB / 0.8299 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.7909, allocations: 24 kB / 0.8299 GB, free: 7.781 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 () * 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.0004496/0.7914, allocations: 249.6 kB / 0.8302 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.7915, allocations: 39.53 kB / 0.8302 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.7931, allocations: 0.589 MB / 0.8308 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.7931, allocations: 11.94 kB / 0.8308 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.733e-06/0.7931, allocations: 0 / 0.8308 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7932, allocations: 3.984 kB / 0.8308 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.7961, allocations: 1.305 MB / 0.8321 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.977e-06/0.7962, allocations: 4 kB / 0.8321 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.7965, allocations: 47.91 kB / 0.8321 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.7965, allocations: 8 kB / 0.8321 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.7966, allocations: 15.98 kB / 0.8321 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.946e-06/0.7966, allocations: 3.938 kB / 0.8322 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.428e-06/0.7966, allocations: 3.953 kB / 0.8322 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.7981, allocations: 0.6437 MB / 0.8328 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.7983, allocations: 128.5 kB / 0.8329 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.7984, allocations: 12 kB / 0.8329 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.7988, allocations: 63.94 kB / 0.833 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.7991, allocations: 92.38 kB / 0.8331 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.898e-05/0.7992, allocations: 31.97 kB / 0.8331 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003455/0.7996, allocations: 221.9 kB / 0.8333 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.78e-07/0.7996, allocations: 0 / 0.8333 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006956/0.8003, allocations: 135.9 kB / 0.8334 GB, free: 4.078 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) * 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.0009948/0.8013, allocations: 325.2 kB / 0.8338 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.8029, allocations: 0.6975 MB / 0.8344 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.8029, allocations: 0 / 0.8344 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.8036, allocations: 279.1 kB / 0.8347 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.8041, allocations: 59.61 kB / 0.8348 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.8063, allocations: 0.9901 MB / 0.8357 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.8069, allocations: 0.8638 MB / 0.8366 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003708/0.8073, allocations: 72.12 kB / 0.8366 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.8075, allocations: 47.42 kB / 0.8367 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of SimCode: time 4.735e-06/0.8075, allocations: 0 / 0.8367 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of Templates: time 0.01604/0.8236, allocations: 5.446 MB / 0.842 GB, free: 11.32 MB / 0.6667 GB