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.01297/0.01297, allocations: 110.6 kB / 15.05 MB, free: 5.977 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.001125/0.001125, allocations: 183.9 kB / 15.94 MB, free: 5.938 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.913/1.913, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.269/2.269, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004627, allocations: 16 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.5342, allocations: 98.7 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.723, allocations: 127.4 MB / 0.8077 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.7234, allocations: 95.94 kB / 0.8078 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.7408, allocations: 4.59 MB / 0.8123 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.547e-06/0.7408, allocations: 0 / 0.8123 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.7409, allocations: 8.875 kB / 0.8123 GB, free: 10.2 MB / 0.6355 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.0009791/0.7419, allocations: 0.5162 MB / 0.8128 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7419, allocations: 8.031 kB / 0.8128 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.742, allocations: 35.58 kB / 0.8129 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.7424, allocations: 268.1 kB / 0.8131 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.7425, allocations: 28.56 kB / 0.8131 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.7426, allocations: 24 kB / 0.8132 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.7434, allocations: 311.7 kB / 0.8135 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.7434, allocations: 3.938 kB / 0.8135 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.7435, allocations: 12 kB / 0.8135 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.7435, allocations: 4 kB / 0.8135 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.7442, allocations: 242.1 kB / 0.8137 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.7462, allocations: 0.9556 MB / 0.8146 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.747, allocations: 257.2 kB / 0.8149 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.747, allocations: 4.234 kB / 0.8149 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.7474, allocations: 156.8 kB / 0.815 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 3.524e-06/0.7474, allocations: 0 / 0.815 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.0009747/0.7484, allocations: 340.5 kB / 0.8154 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.7485, allocations: 55.41 kB / 0.8154 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.7487, allocations: 186 kB / 0.8156 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.7488, allocations: 37.7 kB / 0.8156 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.749, allocations: 144.7 kB / 0.8158 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.7491, allocations: 86.84 kB / 0.8158 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.7491, allocations: 8 kB / 0.8159 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7493, allocations: 338.8 kB / 0.8162 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.7496, allocations: 99.91 kB / 0.8163 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.75, allocations: 153 kB / 0.8164 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.7503, allocations: 99.67 kB / 0.8165 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-06/0.7503, allocations: 0 / 0.8165 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000804/0.7511, allocations: 312.7 kB / 0.8168 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.7512, allocations: 4 kB / 0.8168 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.851e-06/0.7512, allocations: 4 kB / 0.8168 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.7512, allocations: 4 kB / 0.8168 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.7515, allocations: 48.06 kB / 0.8169 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.055e-06/0.7515, allocations: 0 / 0.8169 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.7518, allocations: 43.88 kB / 0.8169 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.7518, allocations: 12 kB / 0.8169 GB, free: 5.227 MB / 0.6355 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.000265/0.7521, allocations: 184.2 kB / 0.8171 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.7522, allocations: 15.81 kB / 0.8171 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.753, allocations: 288.1 kB / 0.8174 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.3e-06/0.753, allocations: 4 kB / 0.8174 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.753, allocations: 8 kB / 0.8174 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.51e-06/0.753, allocations: 3.984 kB / 0.8174 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.7546, allocations: 0.7328 MB / 0.8181 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-06/0.7546, allocations: 7.938 kB / 0.8181 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.7548, allocations: 27.92 kB / 0.8182 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.479e-06/0.7548, allocations: 4 kB / 0.8182 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.7549, allocations: 7.984 kB / 0.8182 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.742e-06/0.7549, allocations: 4 kB / 0.8182 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-06/0.7549, allocations: 0 / 0.8182 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.7556, allocations: 359.1 kB / 0.8185 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.7557, allocations: 96.86 kB / 0.8186 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.7558, allocations: 7.984 kB / 0.8186 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.756, allocations: 39.97 kB / 0.8187 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.7562, allocations: 39.92 kB / 0.8187 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.7562, allocations: 11.94 kB / 0.8187 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000152/0.7564, allocations: 132.3 kB / 0.8188 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7564, allocations: 0 / 0.8188 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004677/0.7569, allocations: 59.98 kB / 0.8189 GB, free: 3.117 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.0002106/0.7571, allocations: 129.9 kB / 0.819 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.7578, allocations: 263.8 kB / 0.8193 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.151e-06/0.7579, allocations: 0 / 0.8193 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.7582, allocations: 132.1 kB / 0.8194 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.7586, allocations: 28.11 kB / 0.8194 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.7597, allocations: 0.5288 MB / 0.8199 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.7602, allocations: 0.7722 MB / 0.8207 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.7604, allocations: 26.28 kB / 0.8207 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.7605, allocations: 27.42 kB / 0.8207 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of SimCode: time 1.587e-06/0.7605, allocations: 0 / 0.8207 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of Templates: time 0.009984/0.7705, allocations: 2.556 MB / 0.8232 GB, free: 14.61 MB / 0.6511 GB