Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01465/0.01465, allocations: 86.45 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00187/0.001869, allocations: 172 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.365/2.365, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.459/2.459, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.0006448, allocations: 13.59 kB / 0.6243 GB, free: 21.08 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2488, allocations: 106.2 MB / 0.7281 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003084/0.252, allocations: 1.719 MB / 0.7298 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2539, allocations: 0.726 MB / 0.7305 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.2541, allocations: 4 kB / 0.7305 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2542, allocations: 23.8 kB / 0.7305 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.2544, allocations: 35.88 kB / 0.7305 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.2549, allocations: 111.7 kB / 0.7306 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.2554, allocations: 219.6 kB / 0.7308 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.2558, allocations: 187 kB / 0.731 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.256, allocations: 99.61 kB / 0.7311 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2563, allocations: 115.5 kB / 0.7312 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.2563, allocations: 16 kB / 0.7312 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.2564, allocations: 19.98 kB / 0.7313 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.2565, allocations: 51.81 kB / 0.7313 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.859e-05/0.2566, allocations: 69.58 kB / 0.7314 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.2571, allocations: 295.5 kB / 0.7317 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2571, allocations: 0 / 0.7317 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.048e-06/0.2571, allocations: 4 kB / 0.7317 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2572, allocations: 3.938 kB / 0.7317 GB, free: 4.391 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001122/0.2583, allocations: 0.5142 MB / 0.7322 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2584, allocations: 12.03 kB / 0.7322 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.2585, allocations: 62.53 kB / 0.7322 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.2586, allocations: 35.58 kB / 0.7323 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.259, allocations: 262.7 kB / 0.7325 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.259, allocations: 36.55 kB / 0.7326 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.2591, allocations: 31.94 kB / 0.7326 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.26, allocations: 311.7 kB / 0.7329 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.2601, allocations: 0 / 0.7329 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.2601, allocations: 8 kB / 0.7329 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2602, allocations: 11.95 kB / 0.7329 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.261, allocations: 246.1 kB / 0.7331 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.2633, allocations: 0.9519 MB / 0.7341 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.2642, allocations: 251.6 kB / 0.7343 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.2642, allocations: 8.172 kB / 0.7343 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.2648, allocations: 160.2 kB / 0.7345 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=30): time 2.746e-06/0.2648, allocations: 3.938 kB / 0.7345 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30): time 0.001209/0.266, allocations: 335.3 kB / 0.7348 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.2661, allocations: 59.41 kB / 0.7348 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.2664, allocations: 206.1 kB / 0.735 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.2665, allocations: 41.69 kB / 0.7351 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2666, allocations: 160.6 kB / 0.7352 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2667, allocations: 82.84 kB / 0.7353 GB, free: 444 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.2668, allocations: 8 kB / 0.7353 GB, free: 436 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2669, allocations: 334.8 kB / 0.7356 GB, free: 92 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.2673, allocations: 99.94 kB / 0.7357 GB, free: 15.99 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.2677, allocations: 149 kB / 0.7359 GB, free: 15.83 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.2681, allocations: 91.73 kB / 0.736 GB, free: 15.74 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2681, allocations: 0 / 0.736 GB, free: 15.74 MB / 0.573 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000941/0.2691, allocations: 316.7 kB / 0.7363 GB, free: 15.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.2691, allocations: 8 kB / 0.7363 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.2691, allocations: 0 / 0.7363 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.2692, allocations: 4 kB / 0.7363 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.2695, allocations: 40.08 kB / 0.7363 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.2696, allocations: 11.92 kB / 0.7363 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.27, allocations: 55.67 kB / 0.7364 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.27, allocations: 15.98 kB / 0.7364 GB, free: 15.29 MB / 0.573 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.0002998/0.2704, allocations: 173.8 kB / 0.7366 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.2704, allocations: 15.81 kB / 0.7366 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/0.2714, allocations: 293.1 kB / 0.7369 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.2714, allocations: 4 kB / 0.7369 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2714, allocations: 4 kB / 0.7369 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2714, allocations: 0 / 0.7369 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.2731, allocations: 0.7327 MB / 0.7376 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2732, allocations: 0 / 0.7376 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.2735, allocations: 31.92 kB / 0.7376 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.2735, allocations: 0 / 0.7376 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.2736, allocations: 15.98 kB / 0.7376 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.2736, allocations: 7.938 kB / 0.7376 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2736, allocations: 0 / 0.7376 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.2745, allocations: 367.1 kB / 0.738 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.2746, allocations: 96.84 kB / 0.7381 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.2747, allocations: 15.92 kB / 0.7381 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.275, allocations: 35.97 kB / 0.7381 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.2752, allocations: 43.89 kB / 0.7382 GB, free: 13.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.2753, allocations: 8 kB / 0.7382 GB, free: 13.36 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001595/0.2754, allocations: 139 kB / 0.7383 GB, free: 13.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2754, allocations: 0 / 0.7383 GB, free: 13.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004915/0.2759, allocations: 67.84 kB / 0.7384 GB, free: 13.15 MB / 0.573 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.001269/0.2772, allocations: 0.9061 MB / 0.7393 GB, free: 12.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008796/0.2781, allocations: 259.8 kB / 0.7395 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2782, allocations: 0 / 0.7395 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.2786, allocations: 127.8 kB / 0.7396 GB, free: 11.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.279, allocations: 32.44 kB / 0.7397 GB, free: 11.81 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.2828, allocations: 2.17 MB / 0.7418 GB, free: 9.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.2833, allocations: 0.7683 MB / 0.7425 GB, free: 8.777 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.2835, allocations: 30.28 kB / 0.7426 GB, free: 8.75 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.2838, allocations: 87.41 kB / 0.7426 GB, free: 8.664 MB / 0.573 GB Notification: Performance of SimCode: time 1.423e-06/0.2838, allocations: 0 / 0.7426 GB, free: 8.664 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.3204, allocations: 4.938 MB / 0.7475 GB, free: 3.852 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/0.3208, allocations: 217 kB / 0.7477 GB, free: 3.609 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.032, allocations: 4.109 kB / 0.7477 GB, free: 3.605 MB / 0.573 GB