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.429/2.429, allocations: 390.5 MB / 398 MB, free: 10.94 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.001402/0.001402, allocations: 180.8 kB / 491.2 MB, free: 1.559 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.655/1.655, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.000985/0.000985, allocations: 94.95 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.06e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3073, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.422, allocations: 152.2 MB / 1.361 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.422, allocations: 90.19 kB / 1.361 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01193/1.434, allocations: 4.737 MB / 1.366 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.495e-06/1.434, allocations: 0 / 1.366 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.831e-05/1.434, allocations: 7.75 kB / 1.366 GB, free: 32.71 MB / 0.8386 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.0006547/1.435, allocations: 0.5001 MB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.435, allocations: 11.69 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/1.435, allocations: 34.75 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/1.435, allocations: 260.1 kB / 1.367 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.435, allocations: 21.62 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/1.436, allocations: 15.41 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000346/1.436, allocations: 193.6 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/1.436, allocations: 265.7 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.436, allocations: 0 / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/1.436, allocations: 2.672 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.436, allocations: 7.688 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/1.438, allocations: 0.8977 MB / 1.368 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/1.438, allocations: 218.7 kB / 1.368 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/1.438, allocations: 97.17 kB / 1.368 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/1.438, allocations: 11.83 kB / 1.368 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/1.438, allocations: 138.2 kB / 1.368 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/1.438, allocations: 0 / 1.368 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0003573/1.439, allocations: 201 kB / 1.369 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/1.439, allocations: 59.17 kB / 1.369 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/1.439, allocations: 164.7 kB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.439, allocations: 33.48 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/1.439, allocations: 155.7 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/1.439, allocations: 74.34 kB / 1.369 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/1.439, allocations: 0 / 1.369 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.439, allocations: 333.9 kB / 1.369 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/1.439, allocations: 76.27 kB / 1.369 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.44, allocations: 124.2 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/1.44, allocations: 80.27 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.44, allocations: 0 / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003274/1.44, allocations: 247.3 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.44, allocations: 3.875 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.44, allocations: 3.844 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.44, allocations: 7.969 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/1.44, allocations: 40.91 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.44, allocations: 7.781 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/1.441, allocations: 44.03 kB / 1.37 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/1.441, allocations: 14 kB / 1.37 GB, free: 30.69 MB / 0.8386 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 () * 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.0001089/1.441, allocations: 130.9 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002708/1.441, allocations: 195.4 kB / 1.37 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/1.441, allocations: 23.34 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/1.441, allocations: 236 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.441, allocations: 3.875 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.441, allocations: 3.953 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.441, allocations: 7.422 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/1.442, allocations: 0.6332 MB / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.442, allocations: 0 / 1.371 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/1.442, allocations: 33.78 kB / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.442, allocations: 7.859 kB / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.442, allocations: 0 / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.442, allocations: 7.281 kB / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.442, allocations: 0 / 1.371 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/1.443, allocations: 305.7 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/1.443, allocations: 92.67 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/1.443, allocations: 14.77 kB / 1.372 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/1.443, allocations: 31.73 kB / 1.372 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/1.443, allocations: 34.52 kB / 1.372 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/1.443, allocations: 13.94 kB / 1.372 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.004e-05/1.443, allocations: 119.5 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.443, allocations: 0 / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002883/1.444, allocations: 50.03 kB / 1.372 GB, free: 29.81 MB / 0.8386 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) * 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.000672/1.444, allocations: 0.8673 MB / 1.373 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002985/1.445, allocations: 206.6 kB / 1.373 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.445, allocations: 0 / 1.373 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/1.445, allocations: 109.5 kB / 1.373 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/1.445, allocations: 39.23 kB / 1.373 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/1.446, allocations: 350 kB / 1.373 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/1.446, allocations: 0.7702 MB / 1.374 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001129/1.446, allocations: 36.48 kB / 1.374 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.446, allocations: 82.86 kB / 1.374 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.446, allocations: 4 kB / 1.374 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/1.471, allocations: 4.438 MB / 1.379 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.472, allocations: 179.3 kB / 1.379 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/3.38, allocations: 0 / 1.379 GB, free: 27.69 MB / 0.8386 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