Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.CoolingMode,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",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.341/2.341, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001248/0.001248, allocations: 180.9 kB / 492.3 MB, free: 0.625 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.579/1.579, allocations: 221.3 MB / 0.7871 GB, free: 12.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.001016/0.001017, allocations: 82.78 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.717e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2938, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.315, allocations: 153.2 MB / 1.362 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.315, allocations: 94.59 kB / 1.362 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01823/1.333, allocations: 7.446 MB / 1.369 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.333, allocations: 0 / 1.369 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.106e-05/1.334, allocations: 11.84 kB / 1.369 GB, free: 34.25 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0009808/1.335, allocations: 0.6487 MB / 1.37 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.335, allocations: 15.53 kB / 1.37 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.468e-05/1.335, allocations: 88.45 kB / 1.37 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/1.335, allocations: 46.41 kB / 1.37 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/1.335, allocations: 332.9 kB / 1.371 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/1.335, allocations: 40.69 kB / 1.371 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/1.335, allocations: 54.45 kB / 1.371 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/1.336, allocations: 0.5001 MB / 1.371 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.336, allocations: 0 / 1.371 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/1.336, allocations: 18.97 kB / 1.371 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/1.336, allocations: 23.47 kB / 1.371 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/1.337, allocations: 399.8 kB / 1.372 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/1.339, allocations: 1.392 MB / 1.373 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/1.339, allocations: 378.6 kB / 1.373 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/1.34, allocations: 189.4 kB / 1.373 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/1.34, allocations: 12 kB / 1.373 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/1.34, allocations: 249.2 kB / 1.374 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 2.003e-06/1.34, allocations: 0 / 1.374 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0006281/1.341, allocations: 361.4 kB / 1.374 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/1.341, allocations: 66.19 kB / 1.374 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/1.341, allocations: 253.6 kB / 1.374 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/1.341, allocations: 47.2 kB / 1.374 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.341, allocations: 189.4 kB / 1.375 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/1.341, allocations: 134.9 kB / 1.375 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/1.341, allocations: 14.19 kB / 1.375 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.341, allocations: 351.3 kB / 1.375 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/1.342, allocations: 166.8 kB / 1.375 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/1.342, allocations: 246.6 kB / 1.375 GB, free: 32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/1.342, allocations: 189.2 kB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.342, allocations: 3.844 kB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007057/1.343, allocations: 0.5343 MB / 1.376 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/1.343, allocations: 29.52 kB / 1.376 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.343, allocations: 3.875 kB / 1.376 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.343, allocations: 3.812 kB / 1.376 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/1.343, allocations: 70.7 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.343, allocations: 11.83 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/1.344, allocations: 87.73 kB / 1.376 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/1.344, allocations: 29.31 kB / 1.376 GB, free: 31.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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.0001647/1.344, allocations: 178.6 kB / 1.377 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/1.344, allocations: 35.08 kB / 1.377 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/1.345, allocations: 448.5 kB / 1.377 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.345, allocations: 3.812 kB / 1.377 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.345, allocations: 3.938 kB / 1.377 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.345, allocations: 2.484 kB / 1.377 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/1.346, allocations: 1.09 MB / 1.378 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.346, allocations: 0 / 1.378 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.346, allocations: 46.55 kB / 1.378 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/1.346, allocations: 0 / 1.378 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/1.346, allocations: 16.58 kB / 1.378 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.346, allocations: 3.875 kB / 1.378 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.346, allocations: 0 / 1.378 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/1.347, allocations: 0.4963 MB / 1.379 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/1.347, allocations: 110.1 kB / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/1.347, allocations: 10.22 kB / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/1.347, allocations: 62.44 kB / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.347, allocations: 70.94 kB / 1.379 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/1.348, allocations: 21.8 kB / 1.379 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001298/1.348, allocations: 164.6 kB / 1.379 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.348, allocations: 0 / 1.379 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003879/1.348, allocations: 101.2 kB / 1.379 GB, free: 30.82 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: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0008864/1.349, allocations: 1.087 MB / 1.38 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006309/1.35, allocations: 493.5 kB / 1.381 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.35, allocations: 4.062 kB / 1.381 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/1.35, allocations: 216.4 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/1.35, allocations: 45.5 kB / 1.381 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/1.351, allocations: 0.6231 MB / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/1.352, allocations: 0.8232 MB / 1.382 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001963/1.352, allocations: 60.61 kB / 1.382 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/1.352, allocations: 144.6 kB / 1.383 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/1.352, allocations: 0 / 1.383 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/1.372, allocations: 7.936 MB / 1.39 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/1.372, allocations: 196.3 kB / 1.391 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/3.495, allocations: 0 / 1.391 GB, free: 25.97 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat