Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001307/0.001307, allocations: 180.3 kB / 498.1 MB, free: 5.746 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.446/1.446, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009315/0.0009316, allocations: 99.33 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005192, allocations: 8.469 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2913, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.233/4.525, allocations: 1.733 GB / 2.956 GB, free: 251.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/4.525, allocations: 107.1 kB / 2.956 GB, free: 251.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1441/4.669, allocations: 65.84 MB / 3.021 GB, free: 195.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.588e-06/4.669, allocations: 4 kB / 3.021 GB, free: 195.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002006/4.669, allocations: 35.94 kB / 3.021 GB, free: 195.5 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.004197/4.673, allocations: 1.47 MB / 3.022 GB, free: 194 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/4.674, allocations: 12.03 kB / 3.022 GB, free: 194 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005363/4.674, allocations: 178.8 kB / 3.022 GB, free: 193.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/4.675, allocations: 226.1 kB / 3.023 GB, free: 193.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/4.677, allocations: 0.7573 MB / 3.023 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/4.677, allocations: 99.23 kB / 3.023 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/4.678, allocations: 130.7 kB / 3.024 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/4.68, allocations: 1.255 MB / 3.025 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/4.68, allocations: 4 kB / 3.025 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/4.68, allocations: 49.23 kB / 3.025 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/4.68, allocations: 42.28 kB / 3.025 GB, free: 191.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/4.683, allocations: 1.431 MB / 3.026 GB, free: 190.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006001/4.689, allocations: 3.519 MB / 3.03 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/4.69, allocations: 1.062 MB / 3.031 GB, free: 187.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/4.69, allocations: 37.91 kB / 3.031 GB, free: 187.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/4.691, allocations: 0.6107 MB / 3.031 GB, free: 186.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.348e-06/4.692, allocations: 0 / 3.031 GB, free: 186.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.003724/4.695, allocations: 1.498 MB / 3.033 GB, free: 185.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/4.695, allocations: 256 kB / 3.033 GB, free: 185.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/4.697, allocations: 0.6818 MB / 3.034 GB, free: 185 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/4.697, allocations: 68.44 kB / 3.034 GB, free: 184.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/4.697, allocations: 469.2 kB / 3.034 GB, free: 184.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/4.697, allocations: 339.7 kB / 3.035 GB, free: 184.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/4.698, allocations: 23.62 kB / 3.035 GB, free: 184.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001532/4.698, allocations: 411.7 kB / 3.035 GB, free: 183.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/4.698, allocations: 364.8 kB / 3.035 GB, free: 183.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/4.699, allocations: 0.5404 MB / 3.036 GB, free: 183.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/4.7, allocations: 404.3 kB / 3.036 GB, free: 183 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/4.7, allocations: 0 / 3.036 GB, free: 183 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002421/4.702, allocations: 1.126 MB / 3.037 GB, free: 182.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/4.702, allocations: 9.25 kB / 3.037 GB, free: 182.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/4.702, allocations: 4.094 kB / 3.037 GB, free: 182.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/4.703, allocations: 84.45 kB / 3.037 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/4.704, allocations: 191.3 kB / 3.038 GB, free: 181.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/4.706, allocations: 1.549 MB / 3.039 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009701/4.707, allocations: 139.2 kB / 3.039 GB, free: 180.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/4.707, allocations: 47.97 kB / 3.039 GB, free: 180.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.0007892/4.708, allocations: 357.9 kB / 3.04 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/4.708, allocations: 98.78 kB / 3.04 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/4.711, allocations: 1.352 MB / 3.041 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/4.711, allocations: 16 kB / 3.041 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/4.711, allocations: 0 / 3.041 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/4.711, allocations: 3.984 kB / 3.041 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/4.715, allocations: 2.642 MB / 3.044 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/4.715, allocations: 0 / 3.044 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/4.716, allocations: 175.7 kB / 3.044 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/4.717, allocations: 88.78 kB / 3.044 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/4.717, allocations: 31.97 kB / 3.044 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/4.718, allocations: 1.571 MB / 3.046 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/4.718, allocations: 0 / 3.046 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/4.721, allocations: 1.243 MB / 3.047 GB, free: 172.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/4.721, allocations: 327.5 kB / 3.047 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/4.722, allocations: 27.94 kB / 3.047 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/4.722, allocations: 115.9 kB / 3.047 GB, free: 171.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/4.723, allocations: 117.1 kB / 3.047 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/4.723, allocations: 47.97 kB / 3.047 GB, free: 171.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000779/4.724, allocations: 0.5146 MB / 3.048 GB, free: 171.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.4e-07/4.724, allocations: 0 / 3.048 GB, free: 171.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001562/4.725, allocations: 435.1 kB / 3.048 GB, free: 170.7 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.004741/4.73, allocations: 2.797 MB / 3.051 GB, free: 168.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002184/4.732, allocations: 1.107 MB / 3.052 GB, free: 167 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/4.732, allocations: 4 kB / 3.052 GB, free: 167 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/4.733, allocations: 0.6741 MB / 3.053 GB, free: 166.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/4.735, allocations: 272.6 kB / 3.053 GB, free: 166 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/4.747, allocations: 7.645 MB / 3.06 GB, free: 158.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/4.748, allocations: 1.147 MB / 3.062 GB, free: 157 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001182/4.749, allocations: 304.7 kB / 3.062 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/4.75, allocations: 479.2 kB / 3.062 GB, free: 156.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.422e-06/4.75, allocations: 0 / 3.062 GB, free: 156.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07059/4.821, allocations: 34.97 MB / 3.096 GB, free: 121.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/4.821, allocations: 285.5 kB / 3.097 GB, free: 121.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.387/8.208, allocations: 0 / 3.097 GB, free: 121.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat