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.Reheat.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.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004366/0.004366, allocations: 231.7 kB / 15.82 MB, free: 6.297 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.001209/0.001209, allocations: 177.5 kB / 16.71 MB, free: 5.453 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 4.164/4.164, allocations: 389 MB / 406.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.912/3.912, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004864, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1694, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7441/0.9136, allocations: 127.4 MB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.914, allocations: 97.08 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01788/0.9319, allocations: 4.583 MB / 1.234 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9319, allocations: 3.828 kB / 1.234 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.9319, allocations: 11.88 kB / 1.234 GB, free: 23.82 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009269/0.9329, allocations: 0.5121 MB / 1.234 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.9329, allocations: 12.03 kB / 1.234 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.933, allocations: 31.62 kB / 1.234 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.9334, allocations: 267.2 kB / 1.234 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.9334, allocations: 30.11 kB / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.9335, allocations: 29.69 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.9343, allocations: 309.7 kB / 1.235 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.9343, allocations: 2.844 kB / 1.235 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.9344, allocations: 10.81 kB / 1.235 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.9344, allocations: 4 kB / 1.235 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.9351, allocations: 248.6 kB / 1.235 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.9371, allocations: 0.9518 MB / 1.236 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.9379, allocations: 248.4 kB / 1.236 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.9382, allocations: 126.6 kB / 1.236 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.9382, allocations: 4.219 kB / 1.236 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.9386, allocations: 162.2 kB / 1.236 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.875e-06/0.9387, allocations: 0 / 1.236 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0009999/0.9397, allocations: 338.4 kB / 1.237 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.9397, allocations: 64.3 kB / 1.237 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.94, allocations: 199.9 kB / 1.237 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.94, allocations: 40.39 kB / 1.237 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.9401, allocations: 146.7 kB / 1.237 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.9402, allocations: 79.19 kB / 1.237 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.9403, allocations: 8.906 kB / 1.237 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9404, allocations: 339 kB / 1.238 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.9407, allocations: 96.34 kB / 1.238 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.9411, allocations: 154 kB / 1.238 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.9414, allocations: 97.56 kB / 1.238 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9414, allocations: 0.75 kB / 1.238 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007937/0.9422, allocations: 312.7 kB / 1.238 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.9423, allocations: 7.344 kB / 1.238 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9423, allocations: 10.36 kB / 1.238 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9423, allocations: 4 kB / 1.238 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.9427, allocations: 43.84 kB / 1.238 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.9427, allocations: 4 kB / 1.238 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.943, allocations: 43.48 kB / 1.238 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.9431, allocations: 15.38 kB / 1.238 GB, free: 20.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002763/0.9434, allocations: 176.2 kB / 1.239 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.9435, allocations: 19.81 kB / 1.239 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008399/0.9443, allocations: 288.8 kB / 1.239 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.9443, allocations: 4 kB / 1.239 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.9443, allocations: 0 / 1.239 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.9444, allocations: 4.359 kB / 1.239 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.9462, allocations: 0.7345 MB / 1.24 GB, free: 35.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9462, allocations: 0 / 1.24 GB, free: 35.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.9465, allocations: 37.12 kB / 1.24 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9465, allocations: 0 / 1.24 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.9465, allocations: 3.562 kB / 1.24 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.9465, allocations: 4 kB / 1.24 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.9465, allocations: 3.234 kB / 1.24 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.9473, allocations: 361.4 kB / 1.24 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.9473, allocations: 98.27 kB / 1.24 GB, free: 34.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.9474, allocations: 7.375 kB / 1.24 GB, free: 34.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.9477, allocations: 42.28 kB / 1.24 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.9479, allocations: 34.34 kB / 1.24 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.9479, allocations: 7.688 kB / 1.24 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001633/0.9481, allocations: 140.7 kB / 1.24 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9481, allocations: 3.938 kB / 1.24 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004774/0.9486, allocations: 58.59 kB / 1.24 GB, free: 34.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001834/0.9488, allocations: 120.1 kB / 1.24 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007189/0.9495, allocations: 256.9 kB / 1.241 GB, free: 34.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9495, allocations: 0 / 1.241 GB, free: 34.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.9499, allocations: 131.5 kB / 1.241 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.9504, allocations: 40.09 kB / 1.241 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.9515, allocations: 0.5298 MB / 1.241 GB, free: 33.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.9518, allocations: 0.7721 MB / 1.242 GB, free: 33.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.9521, allocations: 34.8 kB / 1.242 GB, free: 33.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.9522, allocations: 22.44 kB / 1.242 GB, free: 33.15 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.9522, allocations: 2.656 kB / 1.242 GB, free: 33.15 MB / 0.6355 GB Notification: Performance of Templates: time 0.008457/0.9607, allocations: 2.573 MB / 1.245 GB, free: 30.8 MB / 0.6355 GB