Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001118/0.001118, allocations: 193 kB / 498.1 MB, free: 5.73 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.943/1.943, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009037/0.0009036, allocations: 92.33 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004464, allocations: 7.219 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.4407, allocations: 152.1 MB / 1.372 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.441, allocations: 95.88 kB / 1.372 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.4546, allocations: 4.809 MB / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4546, allocations: 0 / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.4547, allocations: 4 kB / 1.376 GB, free: 4.852 MB / 0.8698 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.0008104/0.4555, allocations: 0.5284 MB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4555, allocations: 12.03 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.102e-05/0.4556, allocations: 66.53 kB / 1.377 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.4557, allocations: 31.62 kB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.456, allocations: 263.7 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.4561, allocations: 24.56 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.4561, allocations: 35.94 kB / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.4567, allocations: 311.7 kB / 1.378 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4567, allocations: 3.953 kB / 1.378 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.4567, allocations: 8 kB / 1.378 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4567, allocations: 11.98 kB / 1.378 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.4572, allocations: 242.1 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.4587, allocations: 0.9676 MB / 1.379 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.4592, allocations: 253.6 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.4593, allocations: 4.234 kB / 1.379 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.4596, allocations: 171.5 kB / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.4596, allocations: 0 / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0007526/0.4603, allocations: 341.2 kB / 1.379 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.4604, allocations: 71.27 kB / 1.38 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4606, allocations: 178.3 kB / 1.38 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.4606, allocations: 41.7 kB / 1.38 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.4607, allocations: 144.7 kB / 1.38 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/0.4608, allocations: 78.95 kB / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.4608, allocations: 4 kB / 1.38 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.461, allocations: 334.8 kB / 1.38 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.4612, allocations: 99.95 kB / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.4614, allocations: 149 kB / 1.381 GB, free: 284 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.4616, allocations: 91.98 kB / 1.381 GB, free: 192 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4616, allocations: 4 kB / 1.381 GB, free: 188 kB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005363/0.4622, allocations: 312.5 kB / 1.381 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4622, allocations: 9.719 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4622, allocations: 0 / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4622, allocations: 4 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.4624, allocations: 43.84 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4625, allocations: 7.953 kB / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.4627, allocations: 51.91 kB / 1.381 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.4627, allocations: 15.98 kB / 1.381 GB, free: 15.74 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.0001736/0.4629, allocations: 169.8 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.4629, allocations: 15.81 kB / 1.381 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.4635, allocations: 296 kB / 1.381 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4635, allocations: 4 kB / 1.381 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4635, allocations: 0 / 1.381 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4635, allocations: 7.953 kB / 1.381 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/0.4645, allocations: 0.7302 MB / 1.382 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4645, allocations: 0 / 1.382 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4647, allocations: 27.98 kB / 1.382 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.4647, allocations: 11.95 kB / 1.382 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4647, allocations: 7.938 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4647, allocations: 0 / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.4647, allocations: 7.984 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.4652, allocations: 355.1 kB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.4653, allocations: 100.9 kB / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.4653, allocations: 7.953 kB / 1.383 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.4655, allocations: 35.97 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.4656, allocations: 39.94 kB / 1.383 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4656, allocations: 11.98 kB / 1.383 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.4657, allocations: 135.4 kB / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4657, allocations: 0 / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002937/0.466, allocations: 55.91 kB / 1.383 GB, free: 13.64 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.0008925/0.4669, allocations: 0.9135 MB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.4674, allocations: 255.8 kB / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4675, allocations: 4.312 kB / 1.384 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.4677, allocations: 135.8 kB / 1.384 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.468, allocations: 32.11 kB / 1.384 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.4703, allocations: 2.172 MB / 1.386 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.4706, allocations: 0.7683 MB / 1.387 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.4707, allocations: 22.28 kB / 1.387 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.4709, allocations: 91.39 kB / 1.387 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/0.4709, allocations: 4 kB / 1.387 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.4864, allocations: 4.911 MB / 1.392 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.4866, allocations: 212.5 kB / 1.392 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.401, allocations: 0 / 1.392 GB, free: 4.172 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat does not exist to compare? outputFormat=mat