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.322/2.322, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001049/0.001049, allocations: 192.6 kB / 487.4 MB, free: 5.051 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.435/1.435, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 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.0008449/0.0008446, allocations: 97.56 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.674e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.268, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.207/5.475, allocations: 1.733 GB / 2.939 GB, free: 124 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004256/5.476, allocations: 101.3 kB / 2.939 GB, free: 123.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1335/5.609, allocations: 64.59 MB / 3.002 GB, free: 65.11 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/5.609, allocations: 0 / 3.002 GB, free: 65.11 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.181e-05/5.609, allocations: 32 kB / 3.002 GB, free: 65.08 MB / 1.151 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.002274/5.612, allocations: 1.357 MB / 3.003 GB, free: 63.65 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/5.612, allocations: 8.562 kB / 3.003 GB, free: 63.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/5.613, allocations: 226.1 kB / 3.004 GB, free: 63.42 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/5.614, allocations: 0.7486 MB / 3.004 GB, free: 62.63 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/5.614, allocations: 55.81 kB / 3.004 GB, free: 62.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/5.614, allocations: 68 kB / 3.004 GB, free: 62.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00169/5.616, allocations: 1.304 MB / 3.006 GB, free: 61.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/5.617, allocations: 1.057 MB / 3.007 GB, free: 60.08 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/5.617, allocations: 0 / 3.007 GB, free: 60.08 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/5.617, allocations: 7.984 kB / 3.007 GB, free: 60.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/5.617, allocations: 46.28 kB / 3.007 GB, free: 60.02 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004459/5.622, allocations: 3.298 MB / 3.01 GB, free: 56.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/5.623, allocations: 0.9361 MB / 3.011 GB, free: 55.72 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004704/5.624, allocations: 385.2 kB / 3.011 GB, free: 55.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/5.624, allocations: 37.33 kB / 3.011 GB, free: 55.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007655/5.624, allocations: 0.5499 MB / 3.012 GB, free: 54.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 3.967e-06/5.624, allocations: 3.938 kB / 3.012 GB, free: 54.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001828/5.626, allocations: 0.9144 MB / 3.013 GB, free: 53.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/5.626, allocations: 256.6 kB / 3.013 GB, free: 53.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/5.627, allocations: 0.5852 MB / 3.014 GB, free: 52.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/5.627, allocations: 41.69 kB / 3.014 GB, free: 52.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/5.627, allocations: 476.6 kB / 3.014 GB, free: 52.38 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/5.628, allocations: 323.3 kB / 3.014 GB, free: 52.06 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/5.628, allocations: 0 / 3.014 GB, free: 52.06 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001323/5.628, allocations: 406.7 kB / 3.015 GB, free: 51.66 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/5.628, allocations: 314.6 kB / 3.015 GB, free: 51.35 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/5.629, allocations: 495.6 kB / 3.015 GB, free: 50.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/5.629, allocations: 350.3 kB / 3.016 GB, free: 50.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/5.629, allocations: 4 kB / 3.016 GB, free: 50.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00172/5.631, allocations: 0.9927 MB / 3.017 GB, free: 49.47 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/5.631, allocations: 4 kB / 3.017 GB, free: 49.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/5.631, allocations: 4 kB / 3.017 GB, free: 49.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/5.632, allocations: 92.8 kB / 3.017 GB, free: 49.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/5.632, allocations: 183.7 kB / 3.017 GB, free: 49.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/5.634, allocations: 1.461 MB / 3.018 GB, free: 47.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/5.635, allocations: 107.3 kB / 3.019 GB, free: 47.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/5.635, allocations: 47.98 kB / 3.019 GB, free: 47.46 MB / 1.151 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 () * 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.0002408/5.635, allocations: 168.8 kB / 3.019 GB, free: 47.29 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001615/5.637, allocations: 0.8989 MB / 3.02 GB, free: 46.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/5.637, allocations: 90.88 kB / 3.02 GB, free: 46.29 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/5.639, allocations: 1.215 MB / 3.021 GB, free: 45.06 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/5.639, allocations: 12 kB / 3.021 GB, free: 45.05 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/5.639, allocations: 4 kB / 3.021 GB, free: 45.04 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/5.639, allocations: 3.984 kB / 3.021 GB, free: 45.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/5.643, allocations: 2.339 MB / 3.023 GB, free: 42.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/5.643, allocations: 4 kB / 3.023 GB, free: 42.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/5.643, allocations: 171.7 kB / 3.023 GB, free: 42.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/5.644, allocations: 88.7 kB / 3.023 GB, free: 42.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/5.644, allocations: 15.98 kB / 3.024 GB, free: 42.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/5.645, allocations: 1.496 MB / 3.025 GB, free: 40.76 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/5.645, allocations: 4.031 kB / 3.025 GB, free: 40.76 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/5.647, allocations: 1.106 MB / 3.026 GB, free: 39.63 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/5.647, allocations: 331.4 kB / 3.026 GB, free: 39.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/5.647, allocations: 8 kB / 3.026 GB, free: 39.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/5.648, allocations: 83.91 kB / 3.026 GB, free: 39.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/5.648, allocations: 125.1 kB / 3.027 GB, free: 39.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/5.648, allocations: 43.98 kB / 3.027 GB, free: 39.03 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004646/5.649, allocations: 443.1 kB / 3.027 GB, free: 38.59 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.649, allocations: 3.938 kB / 3.027 GB, free: 38.59 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001302/5.65, allocations: 391 kB / 3.027 GB, free: 38.21 MB / 1.151 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) * 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.003745/5.654, allocations: 2.672 MB / 3.03 GB, free: 35.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001626/5.656, allocations: 0.9958 MB / 3.031 GB, free: 34.62 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/5.656, allocations: 0 / 3.031 GB, free: 34.62 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/5.656, allocations: 0.608 MB / 3.032 GB, free: 34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/5.658, allocations: 240.6 kB / 3.032 GB, free: 33.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/5.662, allocations: 1.913 MB / 3.034 GB, free: 31.82 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/5.663, allocations: 1.143 MB / 3.035 GB, free: 30.64 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009143/5.663, allocations: 296.4 kB / 3.035 GB, free: 30.35 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/5.664, allocations: 479.2 kB / 3.036 GB, free: 29.88 MB / 1.151 GB Notification: Performance of SimCode: time 8.82e-07/5.664, allocations: 4 kB / 3.036 GB, free: 29.88 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06184/5.726, allocations: 28.63 MB / 3.064 GB, free: 1.395 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/5.726, allocations: 208.4 kB / 3.064 GB, free: 1.121 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/9.303, allocations: 4.172 kB / 3.064 GB, free: 1.121 MB / 1.151 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