Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.49/2.49, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 188.2 kB / 329.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.513/2.513, allocations: 225.6 MB / 0.6001 GB, free: 476 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 101.8 kB / 0.7074 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007804/0.0007807, allocations: 13.44 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2303, allocations: 109.1 MB / 0.9308 GB, free: 24.84 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003398/0.2338, allocations: 1.717 MB / 0.9324 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.2357, allocations: 0.686 MB / 0.9331 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.236, allocations: 4 kB / 0.9331 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.2362, allocations: 27.73 kB / 0.9331 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.2363, allocations: 31.72 kB / 0.9332 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.2369, allocations: 103.9 kB / 0.9333 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.2375, allocations: 343.2 kB / 0.9336 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.238, allocations: 203 kB / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2382, allocations: 95.62 kB / 0.9339 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.2385, allocations: 111.4 kB / 0.934 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.2386, allocations: 19.94 kB / 0.934 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2387, allocations: 24 kB / 0.934 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.2388, allocations: 47.77 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.2389, allocations: 73.58 kB / 0.9341 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.2394, allocations: 299.5 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2394, allocations: 4 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.145e-06/0.2394, allocations: 0 / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2394, allocations: 0 / 0.9344 GB, free: 21.05 MB / 0.5886 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.001192/0.2406, allocations: 0.5145 MB / 0.9349 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.2407, allocations: 8.031 kB / 0.9349 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2408, allocations: 32.56 kB / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.2413, allocations: 276.9 kB / 0.9352 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.2414, allocations: 24.94 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.2415, allocations: 32.36 kB / 0.9353 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.2426, allocations: 327.7 kB / 0.9356 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.2426, allocations: 3.938 kB / 0.9356 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.2427, allocations: 12 kB / 0.9356 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2427, allocations: 4 kB / 0.9356 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2438, allocations: 242.1 kB / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.2464, allocations: 0.9441 MB / 0.9368 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2475, allocations: 255.5 kB / 0.937 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.248, allocations: 129.2 kB / 0.9371 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.2481, allocations: 4.234 kB / 0.9372 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/0.2487, allocations: 158.5 kB / 0.9373 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=30): time 4.298e-06/0.2487, allocations: 0 / 0.9373 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30): time 0.001449/0.2502, allocations: 339.5 kB / 0.9376 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2502, allocations: 63.39 kB / 0.9377 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.2505, allocations: 206 kB / 0.9379 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.2506, allocations: 41.69 kB / 0.9379 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2508, allocations: 160.7 kB / 0.9381 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2509, allocations: 78.86 kB / 0.9382 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.251, allocations: 8 kB / 0.9382 GB, free: 17.03 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2511, allocations: 334.8 kB / 0.9385 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.2515, allocations: 95.91 kB / 0.9386 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.252, allocations: 160.8 kB / 0.9387 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.2525, allocations: 95.92 kB / 0.9388 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.2525, allocations: 3.938 kB / 0.9388 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001092/0.2536, allocations: 309.6 kB / 0.9391 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2536, allocations: 4 kB / 0.9391 GB, free: 16.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2536, allocations: 3.984 kB / 0.9391 GB, free: 16.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.2537, allocations: 4 kB / 0.9391 GB, free: 16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.2542, allocations: 40.08 kB / 0.9392 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.2542, allocations: 7.984 kB / 0.9392 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.2547, allocations: 55.72 kB / 0.9392 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.2547, allocations: 8 kB / 0.9392 GB, free: 15.89 MB / 0.5886 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.0002976/0.2551, allocations: 177.7 kB / 0.9394 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.2551, allocations: 23.75 kB / 0.9394 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.2562, allocations: 289.6 kB / 0.9397 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.2563, allocations: 4 kB / 0.9397 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2563, allocations: 4 kB / 0.9397 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2563, allocations: 0 / 0.9397 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.2583, allocations: 0.7468 MB / 0.9404 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2583, allocations: 0 / 0.9404 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.2587, allocations: 31.92 kB / 0.9405 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2587, allocations: 4 kB / 0.9405 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.2587, allocations: 7.984 kB / 0.9405 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2588, allocations: 0 / 0.9405 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2588, allocations: 3.938 kB / 0.9405 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.2597, allocations: 365.5 kB / 0.9408 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.2598, allocations: 96.86 kB / 0.9409 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.2599, allocations: 4 kB / 0.9409 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.2604, allocations: 43.95 kB / 0.941 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.2606, allocations: 39.89 kB / 0.941 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.2607, allocations: 7.984 kB / 0.941 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001671/0.2609, allocations: 136.2 kB / 0.9411 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2609, allocations: 0 / 0.9411 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007136/0.2616, allocations: 71.73 kB / 0.9412 GB, free: 13.76 MB / 0.5886 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.0002262/0.2618, allocations: 125.1 kB / 0.9413 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.2629, allocations: 259.6 kB / 0.9416 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2629, allocations: 3.938 kB / 0.9416 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.2635, allocations: 140.7 kB / 0.9417 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.2642, allocations: 34.91 kB / 0.9418 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2657, allocations: 0.5434 MB / 0.9423 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.266, allocations: 0.7605 MB / 0.943 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002749/0.2663, allocations: 26.28 kB / 0.943 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.2665, allocations: 19.44 kB / 0.9431 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/0.2665, allocations: 0 / 0.9431 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.01091/0.2774, allocations: 2.576 MB / 0.9456 GB, free: 9.23 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)