Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 175 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.1 MB / 0.7992 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008416/0.0008416, allocations: 97.84 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 12.02 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2628, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.4469, allocations: 152.9 MB / 1.379 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4472, allocations: 91.94 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.4608, allocations: 4.817 MB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4608, allocations: 0 / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.4609, allocations: 8 kB / 1.383 GB, free: 11.59 MB / 0.8855 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.0008967/0.4618, allocations: 0.5325 MB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4618, allocations: 8.031 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.4619, allocations: 62.53 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.462, allocations: 31.62 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.4624, allocations: 267 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.4624, allocations: 24.56 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.4625, allocations: 32 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.4631, allocations: 311.7 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4631, allocations: 3.953 kB / 1.385 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.4632, allocations: 12 kB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.4632, allocations: 4 kB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.4637, allocations: 246.1 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.4653, allocations: 0.9677 MB / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.4659, allocations: 247.7 kB / 1.386 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4659, allocations: 8.234 kB / 1.386 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.4662, allocations: 156.5 kB / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.4662, allocations: 0 / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.0007066/0.4669, allocations: 345.3 kB / 1.387 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.467, allocations: 59.39 kB / 1.387 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4672, allocations: 185.3 kB / 1.387 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.4672, allocations: 37.7 kB / 1.387 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.4673, allocations: 152.6 kB / 1.387 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/0.4674, allocations: 90.88 kB / 1.387 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.4674, allocations: 4 kB / 1.387 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4676, allocations: 334.8 kB / 1.387 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4678, allocations: 99.95 kB / 1.387 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.468, allocations: 149 kB / 1.388 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.4682, allocations: 103.4 kB / 1.388 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4683, allocations: 0 / 1.388 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005526/0.4688, allocations: 309 kB / 1.388 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4688, allocations: 4 kB / 1.388 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4689, allocations: 0 / 1.388 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4689, allocations: 4 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.4691, allocations: 48.06 kB / 1.388 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4691, allocations: 7.953 kB / 1.388 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.4693, allocations: 43.81 kB / 1.388 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.4694, allocations: 16 kB / 1.388 GB, free: 6.488 MB / 0.8855 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.0001729/0.4696, allocations: 175.4 kB / 1.388 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.4696, allocations: 15.81 kB / 1.388 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.4702, allocations: 292.1 kB / 1.389 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4702, allocations: 0 / 1.389 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4702, allocations: 8 kB / 1.389 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4702, allocations: 7.938 kB / 1.389 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.4712, allocations: 0.725 MB / 1.389 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4713, allocations: 0 / 1.389 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4714, allocations: 35.91 kB / 1.389 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.4714, allocations: 7.953 kB / 1.389 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4715, allocations: 4 kB / 1.389 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4715, allocations: 4 kB / 1.389 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4715, allocations: 0 / 1.389 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.472, allocations: 363.8 kB / 1.39 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.4721, allocations: 96.92 kB / 1.39 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.4721, allocations: 7.953 kB / 1.39 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.4723, allocations: 39.97 kB / 1.39 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.4724, allocations: 39.88 kB / 1.39 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.4725, allocations: 11.94 kB / 1.39 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001263/0.4726, allocations: 136.3 kB / 1.39 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4726, allocations: 0 / 1.39 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000315/0.4729, allocations: 59.91 kB / 1.39 GB, free: 4.383 MB / 0.8855 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.0008527/0.4738, allocations: 0.917 MB / 1.391 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.4743, allocations: 251.8 kB / 1.391 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4743, allocations: 0 / 1.391 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4745, allocations: 136.4 kB / 1.391 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.4748, allocations: 32.44 kB / 1.391 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.4774, allocations: 2.177 MB / 1.394 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.4779, allocations: 0.7683 MB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.478, allocations: 34.28 kB / 1.394 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.4782, allocations: 83.41 kB / 1.394 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of SimCode: time 7.91e-07/0.4782, allocations: 0 / 1.394 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4966, allocations: 4.924 MB / 1.399 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.4968, allocations: 212.2 kB / 1.399 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.362, allocations: 0 / 1.399 GB, free: 10.9 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat does not exist to compare? outputFormat=mat