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.541/2.541, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00118/0.00118, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.609/1.609, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 99.83 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.022e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2933, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.331, allocations: 151.4 MB / 1.354 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.331, allocations: 85.53 kB / 1.354 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01326/1.344, allocations: 4.728 MB / 1.359 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.775e-06/1.344, allocations: 0 / 1.359 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.193e-05/1.344, allocations: 8.562 kB / 1.359 GB, free: 33.59 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.0007968/1.345, allocations: 0.5128 MB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/1.345, allocations: 12.09 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/1.345, allocations: 31.12 kB / 1.359 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/1.346, allocations: 256.6 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/1.346, allocations: 14.97 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/1.346, allocations: 19.19 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004115/1.346, allocations: 197.1 kB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/1.347, allocations: 260 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.347, allocations: 0 / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/1.347, allocations: 3.953 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/1.347, allocations: 7.688 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/1.348, allocations: 0.8918 MB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/1.349, allocations: 224.1 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/1.349, allocations: 97.12 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/1.349, allocations: 4.141 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/1.349, allocations: 148.4 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/1.349, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004207/1.35, allocations: 200.3 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/1.35, allocations: 62.81 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.35, allocations: 168.9 kB / 1.362 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/1.35, allocations: 34.64 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.35, allocations: 152.5 kB / 1.362 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/1.35, allocations: 71.02 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/1.35, allocations: 4 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.35, allocations: 337.1 kB / 1.362 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/1.35, allocations: 74.11 kB / 1.362 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/1.351, allocations: 126.8 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/1.351, allocations: 78.25 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.351, allocations: 0 / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003597/1.351, allocations: 248.4 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.351, allocations: 7.781 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.351, allocations: 0 / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.351, allocations: 3.844 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/1.351, allocations: 45.61 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.351, allocations: 15.06 kB / 1.363 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/1.352, allocations: 36.83 kB / 1.363 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/1.352, allocations: 17.58 kB / 1.363 GB, free: 31.55 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.0001429/1.352, allocations: 127.3 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002945/1.352, allocations: 200.8 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/1.352, allocations: 17.11 kB / 1.363 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/1.353, allocations: 228.5 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.353, allocations: 3.875 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.353, allocations: 3.984 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/1.353, allocations: 5.359 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008622/1.354, allocations: 0.6462 MB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.354, allocations: 0 / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/1.354, allocations: 31.67 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.354, allocations: 7.812 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.354, allocations: 5.359 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.354, allocations: 0 / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.354, allocations: 0 / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/1.354, allocations: 312 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/1.354, allocations: 92.64 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/1.354, allocations: 9.891 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/1.354, allocations: 36.09 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/1.355, allocations: 40.78 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/1.355, allocations: 10.39 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.545e-05/1.355, allocations: 118.3 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.355, allocations: 0 / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002965/1.355, allocations: 52.94 kB / 1.365 GB, free: 30.66 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.000807/1.356, allocations: 0.8646 MB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003161/1.356, allocations: 205 kB / 1.366 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.356, allocations: 0 / 1.366 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/1.356, allocations: 116.4 kB / 1.366 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/1.357, allocations: 23.39 kB / 1.366 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/1.357, allocations: 361.5 kB / 1.366 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/1.358, allocations: 0.759 MB / 1.367 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001119/1.358, allocations: 32.53 kB / 1.367 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/1.358, allocations: 85.31 kB / 1.367 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.358, allocations: 0 / 1.367 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/1.382, allocations: 4.439 MB / 1.371 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/1.382, allocations: 177.1 kB / 1.372 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/3.314, allocations: 0 / 1.372 GB, free: 28.56 MB / 0.8386 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