Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.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.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",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.676/2.676, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001441/0.001441, allocations: 172 kB / 0.4901 GB, free: 2.25 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.83/1.83, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001034/0.001034, allocations: 108.8 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 7.094 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3259, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.536/4.862, allocations: 1.734 GB / 2.963 GB, free: 216.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/4.862, allocations: 110.4 kB / 2.964 GB, free: 216 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1414/5.004, allocations: 65.84 MB / 3.028 GB, free: 160.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.675e-06/5.004, allocations: 0 / 3.028 GB, free: 160.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001256/5.004, allocations: 35.94 kB / 3.028 GB, free: 160.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.003665/5.008, allocations: 1.472 MB / 3.029 GB, free: 158.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/5.008, allocations: 12.03 kB / 3.029 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000465/5.008, allocations: 178.8 kB / 3.03 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/5.009, allocations: 226.1 kB / 3.03 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/5.011, allocations: 0.7592 MB / 3.031 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-05/5.011, allocations: 100 kB / 3.031 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/5.011, allocations: 123.4 kB / 3.031 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/5.013, allocations: 1.253 MB / 3.032 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/5.013, allocations: 11.94 kB / 3.032 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/5.014, allocations: 48.12 kB / 3.032 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/5.014, allocations: 42.22 kB / 3.032 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/5.015, allocations: 1.424 MB / 3.033 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/5.02, allocations: 3.525 MB / 3.037 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/5.022, allocations: 1.066 MB / 3.038 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/5.022, allocations: 40.84 kB / 3.038 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008809/5.023, allocations: 0.6066 MB / 3.039 GB, free: 151.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.867e-06/5.023, allocations: 0 / 3.039 GB, free: 151.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.003184/5.026, allocations: 1.492 MB / 3.04 GB, free: 150.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/5.026, allocations: 255.9 kB / 3.04 GB, free: 150.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/5.027, allocations: 0.6856 MB / 3.041 GB, free: 149.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.502e-05/5.027, allocations: 67.08 kB / 3.041 GB, free: 149.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/5.027, allocations: 464.4 kB / 3.041 GB, free: 149.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/5.027, allocations: 346.1 kB / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/5.027, allocations: 22 kB / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001149/5.028, allocations: 413.8 kB / 3.042 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/5.028, allocations: 363.4 kB / 3.043 GB, free: 148.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/5.029, allocations: 0.5371 MB / 3.043 GB, free: 148.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/5.029, allocations: 404.4 kB / 3.043 GB, free: 147.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/5.029, allocations: 3.938 kB / 3.043 GB, free: 147.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00204/5.031, allocations: 1.13 MB / 3.045 GB, free: 147.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/5.032, allocations: 11.94 kB / 3.045 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/5.032, allocations: 0 / 3.045 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/5.032, allocations: 92.36 kB / 3.045 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/5.033, allocations: 185 kB / 3.045 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/5.035, allocations: 1.547 MB / 3.046 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/5.035, allocations: 135.3 kB / 3.046 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/5.036, allocations: 50.16 kB / 3.046 GB, free: 145.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007035/5.036, allocations: 357.3 kB / 3.047 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/5.036, allocations: 102.8 kB / 3.047 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/5.039, allocations: 1.349 MB / 3.048 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/5.039, allocations: 16 kB / 3.048 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/5.039, allocations: 0 / 3.048 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/5.04, allocations: 7.969 kB / 3.048 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004459/5.044, allocations: 2.645 MB / 3.051 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/5.044, allocations: 0 / 3.051 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/5.045, allocations: 170.3 kB / 3.051 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/5.045, allocations: 93.28 kB / 3.051 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/5.045, allocations: 40.09 kB / 3.051 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/5.047, allocations: 1.558 MB / 3.053 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/5.047, allocations: 0 / 3.053 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/5.049, allocations: 1.243 MB / 3.054 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/5.05, allocations: 331.4 kB / 3.054 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/5.05, allocations: 28 kB / 3.054 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000799/5.051, allocations: 103.9 kB / 3.054 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/5.051, allocations: 121.1 kB / 3.054 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/5.051, allocations: 43.98 kB / 3.054 GB, free: 138.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006732/5.052, allocations: 0.5224 MB / 3.055 GB, free: 137.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/5.052, allocations: 0 / 3.055 GB, free: 137.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001459/5.053, allocations: 439.1 kB / 3.055 GB, free: 137.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004633/5.058, allocations: 2.788 MB / 3.058 GB, free: 134.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002081/5.06, allocations: 1.112 MB / 3.059 GB, free: 133.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/5.06, allocations: 8.125 kB / 3.059 GB, free: 133.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009882/5.061, allocations: 0.6698 MB / 3.06 GB, free: 132.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/5.062, allocations: 264.9 kB / 3.06 GB, free: 132.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/5.074, allocations: 7.647 MB / 3.068 GB, free: 124.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/5.075, allocations: 1.149 MB / 3.069 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001104/5.076, allocations: 308.7 kB / 3.069 GB, free: 123.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006836/5.076, allocations: 483.2 kB / 3.069 GB, free: 122.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.162e-06/5.076, allocations: 0 / 3.069 GB, free: 122.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/5.139, allocations: 34.97 MB / 3.104 GB, free: 88.04 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/5.139, allocations: 292.4 kB / 3.104 GB, free: 87.68 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/8.498, allocations: 3.938 kB / 3.104 GB, free: 87.68 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat