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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01083/0.01084, allocations: 107.7 kB / 15.05 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.001167/0.001167, allocations: 186.2 kB / 15.95 MB, free: 5.895 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.935/1.935, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.353/2.353, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00071/0.0007101, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7945, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/1.037, allocations: 131 MB / 0.8114 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/1.038, allocations: 95.88 kB / 0.8115 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06069/1.099, allocations: 10.7 MB / 0.8219 GB, free: 272 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/1.099, allocations: 0 / 0.8219 GB, free: 272 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.001e-05/1.099, allocations: 11.98 kB / 0.8219 GB, free: 260 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.002469/1.101, allocations: 0.8369 MB / 0.8228 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.101, allocations: 8.031 kB / 0.8228 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002702/1.101, allocations: 90.5 kB / 0.8229 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/1.102, allocations: 67.28 kB / 0.8229 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/1.103, allocations: 378.2 kB / 0.8233 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/1.103, allocations: 45 kB / 0.8233 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/1.103, allocations: 55.98 kB / 0.8234 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.105, allocations: 0.5293 MB / 0.8239 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/1.105, allocations: 0 / 0.8239 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/1.105, allocations: 24 kB / 0.8239 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/1.105, allocations: 8 kB / 0.8239 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/1.107, allocations: 475.6 kB / 0.8244 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/1.111, allocations: 1.434 MB / 0.8258 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/1.113, allocations: 0.5058 MB / 0.8263 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.549e-05/1.113, allocations: 8.547 kB / 0.8263 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/1.114, allocations: 319 kB / 0.8266 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.859e-06/1.114, allocations: 0 / 0.8266 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.002592/1.117, allocations: 0.6937 MB / 0.8273 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.117, allocations: 67.95 kB / 0.8273 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/1.117, allocations: 322.7 kB / 0.8276 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/1.118, allocations: 53.69 kB / 0.8277 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/1.118, allocations: 209.3 kB / 0.8279 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/1.118, allocations: 158 kB / 0.828 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/1.118, allocations: 16 kB / 0.8281 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.118, allocations: 358.7 kB / 0.8284 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008024/1.119, allocations: 213.9 kB / 0.8286 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009112/1.12, allocations: 301.4 kB / 0.8289 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/1.121, allocations: 276.2 kB / 0.8292 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/1.121, allocations: 4 kB / 0.8292 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002151/1.123, allocations: 0.693 MB / 0.8298 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/1.123, allocations: 89.09 kB / 0.8299 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/1.123, allocations: 8.156 kB / 0.8299 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.123, allocations: 11.94 kB / 0.8299 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/1.124, allocations: 75.83 kB / 0.83 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.124, allocations: 4 kB / 0.83 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/1.125, allocations: 79.69 kB / 0.8301 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.125, allocations: 28 kB / 0.8301 GB, free: 7.539 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.0005312/1.126, allocations: 249.6 kB / 0.8304 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/1.126, allocations: 35.53 kB / 0.8304 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/1.128, allocations: 0.5929 MB / 0.831 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/1.128, allocations: 8 kB / 0.831 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.128, allocations: 0 / 0.831 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.128, allocations: 7.984 kB / 0.831 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/1.131, allocations: 1.301 MB / 0.8323 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.131, allocations: 0 / 0.8323 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/1.132, allocations: 51.91 kB / 0.8323 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.132, allocations: 7.938 kB / 0.8323 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/1.132, allocations: 15.98 kB / 0.8323 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/1.132, allocations: 3.953 kB / 0.8323 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.132, allocations: 0 / 0.8323 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/1.134, allocations: 0.6469 MB / 0.833 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/1.134, allocations: 124.6 kB / 0.8331 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.134, allocations: 12 kB / 0.8331 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/1.135, allocations: 63.94 kB / 0.8332 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/1.135, allocations: 88.39 kB / 0.8332 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/1.135, allocations: 27.97 kB / 0.8333 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003808/1.135, allocations: 229.9 kB / 0.8335 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.135, allocations: 0 / 0.8335 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008133/1.136, allocations: 143.9 kB / 0.8336 GB, free: 3.84 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.002967/1.139, allocations: 1.396 MB / 0.835 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002001/1.141, allocations: 0.7013 MB / 0.8357 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.141, allocations: 0 / 0.8357 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/1.142, allocations: 287.5 kB / 0.8359 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/1.143, allocations: 54.31 kB / 0.836 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/1.147, allocations: 2.459 MB / 0.8384 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/1.147, allocations: 0.8638 MB / 0.8392 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004659/1.148, allocations: 68.14 kB / 0.8393 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/1.148, allocations: 167.4 kB / 0.8395 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of SimCode: time 1.413e-06/1.148, allocations: 0 / 0.8395 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/1.193, allocations: 9.55 MB / 0.8488 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/1.193, allocations: 261.8 kB / 0.849 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/4.017, allocations: 8.062 kB / 0.849 GB, free: 3.984 MB / 0.6667 GB