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.01087/0.01087, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001162/0.001162, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.699/3.699, allocations: 389.1 MB / 405.9 MB, free: 67.67 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.423/4.423, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005056, allocations: 12 kB / 1.008 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.5592, allocations: 98.71 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.001943/0.5612, allocations: 1.693 MB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.5623, allocations: 0.7069 MB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.5625, allocations: 7.938 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 9.914e-05/0.5626, allocations: 19.8 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.5628, allocations: 34.55 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.5631, allocations: 95.89 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.5635, allocations: 339.2 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.5638, allocations: 202.3 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.5639, allocations: 95.62 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.5641, allocations: 115.4 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.5642, allocations: 12 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.348e-05/0.5642, allocations: 16 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.5643, allocations: 51.3 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.5644, allocations: 73.52 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.5647, allocations: 296.5 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.695e-06/0.5647, allocations: 0 / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.101e-06/0.5647, allocations: 0.6562 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.411e-06/0.5647, allocations: 0 / 1.108 GB, free: 180.1 MB / 0.6823 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.000743/0.5655, allocations: 0.5095 MB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5655, allocations: 12.03 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.5656, allocations: 35.58 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.5659, allocations: 258.6 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.566, allocations: 24.56 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.566, allocations: 32.73 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.5667, allocations: 315.7 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5667, allocations: 0 / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5668, allocations: 12 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.674e-06/0.5668, allocations: 4 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.5674, allocations: 250.2 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.569, allocations: 0.9344 MB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.5696, allocations: 250.3 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.5699, allocations: 120.7 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.57, allocations: 4.234 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.5703, allocations: 174.6 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 5.05e-06/0.5704, allocations: 4.734 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0008338/0.5712, allocations: 328.9 kB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5713, allocations: 55.94 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.5715, allocations: 204.4 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.5715, allocations: 37.7 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.5716, allocations: 160.6 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.5717, allocations: 74.98 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.5717, allocations: 8.75 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.5718, allocations: 338.8 kB / 1.112 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.5721, allocations: 101.4 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.5724, allocations: 159.2 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.5726, allocations: 101 kB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.776e-06/0.5727, allocations: 0 / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006863/0.5734, allocations: 307.5 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5734, allocations: 4 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.697e-06/0.5734, allocations: 0.8438 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.5734, allocations: 4 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.5737, allocations: 42.88 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.932e-06/0.5737, allocations: 4 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.574, allocations: 63.56 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.574, allocations: 11.98 kB / 1.112 GB, free: 175 MB / 0.6823 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.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,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.0001902/0.5742, allocations: 176.5 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.5743, allocations: 23.72 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.575, allocations: 281.8 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.123e-06/0.575, allocations: 4.562 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.575, allocations: 3.984 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.575, allocations: 0 / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5763, allocations: 0.7379 MB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.084e-06/0.5763, allocations: 0 / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.5765, allocations: 35.91 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.552e-06/0.5765, allocations: 0.6562 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.5766, allocations: 9.312 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.129e-06/0.5766, allocations: 0 / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.843e-06/0.5766, allocations: 3.953 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.5772, allocations: 362.5 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.5772, allocations: 97.53 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.5773, allocations: 8 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.5775, allocations: 34.31 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5777, allocations: 46.23 kB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.5777, allocations: 8 kB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001032/0.5778, allocations: 134.5 kB / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.82e-07/0.5778, allocations: 0 / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000433/0.5783, allocations: 63.75 kB / 1.114 GB, free: 172.9 MB / 0.6823 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.onToOff.enableFire,heaCon.offToOn.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.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,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.0001687/0.5785, allocations: 134.6 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.5791, allocations: 259.8 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.311e-06/0.5791, allocations: 3.938 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.5794, allocations: 131.8 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5799, allocations: 34.84 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.5808, allocations: 0.5387 MB / 1.115 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.581, allocations: 0.7665 MB / 1.116 GB, free: 171 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.5812, allocations: 30.81 kB / 1.116 GB, free: 171 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5813, allocations: 23.44 kB / 1.116 GB, free: 171 MB / 0.6823 GB Notification: Performance of SimCode: time 1.843e-06/0.5814, allocations: 0 / 1.116 GB, free: 171 MB / 0.6823 GB Notification: Performance of Templates: time 0.007529/0.5889, allocations: 2.577 MB / 1.119 GB, free: 168.6 MB / 0.6823 GB