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.448/2.448, allocations: 390.5 MB / 398 MB, free: 10.94 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.001152/0.001151, allocations: 172.9 kB / 491.2 MB, free: 1.559 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.598/1.598, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009374/0.0009375, allocations: 83.97 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.932e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.868/5.139, allocations: 1.733 GB / 2.946 GB, free: 115.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/5.14, allocations: 103.1 kB / 2.946 GB, free: 115.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1389/5.279, allocations: 64.58 MB / 3.009 GB, free: 56.67 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.546e-06/5.279, allocations: 0 / 3.009 GB, free: 56.67 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001402/5.279, allocations: 36 kB / 3.009 GB, free: 56.64 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.003056/5.282, allocations: 1.345 MB / 3.01 GB, free: 55.22 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.403e-05/5.282, allocations: 12.03 kB / 3.01 GB, free: 55.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009469/5.283, allocations: 218.2 kB / 3.011 GB, free: 55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/5.284, allocations: 0.7639 MB / 3.011 GB, free: 54.19 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/5.284, allocations: 40 kB / 3.011 GB, free: 54.15 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/5.284, allocations: 72 kB / 3.011 GB, free: 54.08 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001754/5.286, allocations: 1.312 MB / 3.013 GB, free: 52.76 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/5.288, allocations: 1.057 MB / 3.014 GB, free: 51.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/5.288, allocations: 0 / 3.014 GB, free: 51.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/5.288, allocations: 4 kB / 3.014 GB, free: 51.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/5.288, allocations: 46.28 kB / 3.014 GB, free: 51.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/5.293, allocations: 3.299 MB / 3.017 GB, free: 48.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/5.294, allocations: 0.9472 MB / 3.018 GB, free: 47.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/5.294, allocations: 392.8 kB / 3.018 GB, free: 46.89 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/5.294, allocations: 33.34 kB / 3.018 GB, free: 46.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000791/5.295, allocations: 0.5499 MB / 3.019 GB, free: 46.29 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 3.627e-06/5.295, allocations: 0 / 3.019 GB, free: 46.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001901/5.297, allocations: 0.9145 MB / 3.02 GB, free: 45.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/5.297, allocations: 252.6 kB / 3.02 GB, free: 45.06 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/5.298, allocations: 0.593 MB / 3.021 GB, free: 44.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/5.298, allocations: 37.7 kB / 3.021 GB, free: 44.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/5.298, allocations: 476.7 kB / 3.021 GB, free: 43.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/5.299, allocations: 327.2 kB / 3.021 GB, free: 43.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/5.299, allocations: 0 / 3.021 GB, free: 43.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001303/5.299, allocations: 402.7 kB / 3.022 GB, free: 43.22 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/5.299, allocations: 310.6 kB / 3.022 GB, free: 42.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/5.3, allocations: 498.2 kB / 3.023 GB, free: 42.38 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/5.3, allocations: 354.3 kB / 3.023 GB, free: 42.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/5.3, allocations: 3.938 kB / 3.023 GB, free: 42.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001788/5.302, allocations: 0.9927 MB / 3.024 GB, free: 41.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/5.302, allocations: 5.25 kB / 3.024 GB, free: 41.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/5.302, allocations: 7.984 kB / 3.024 GB, free: 41.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/5.303, allocations: 84.88 kB / 3.024 GB, free: 40.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/5.304, allocations: 187.6 kB / 3.024 GB, free: 40.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/5.305, allocations: 1.461 MB / 3.026 GB, free: 39.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/5.306, allocations: 103.4 kB / 3.026 GB, free: 39.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/5.306, allocations: 51.95 kB / 3.026 GB, free: 39.01 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.000265/5.306, allocations: 165.9 kB / 3.026 GB, free: 38.85 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001689/5.308, allocations: 0.8989 MB / 3.027 GB, free: 37.94 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/5.308, allocations: 98.86 kB / 3.027 GB, free: 37.84 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/5.31, allocations: 1.203 MB / 3.028 GB, free: 36.62 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/5.31, allocations: 12 kB / 3.028 GB, free: 36.61 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/5.31, allocations: 0 / 3.028 GB, free: 36.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/5.31, allocations: 7.969 kB / 3.028 GB, free: 36.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/5.314, allocations: 2.349 MB / 3.03 GB, free: 34.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/5.314, allocations: 0 / 3.03 GB, free: 34.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/5.315, allocations: 175.7 kB / 3.031 GB, free: 34.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/5.315, allocations: 88.7 kB / 3.031 GB, free: 33.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/5.315, allocations: 23.92 kB / 3.031 GB, free: 33.92 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/5.317, allocations: 1.477 MB / 3.032 GB, free: 32.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/5.317, allocations: 0 / 3.032 GB, free: 32.32 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/5.319, allocations: 1.118 MB / 3.033 GB, free: 31.18 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/5.319, allocations: 323.5 kB / 3.034 GB, free: 30.84 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/5.319, allocations: 7.984 kB / 3.034 GB, free: 30.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006816/5.32, allocations: 83.91 kB / 3.034 GB, free: 30.75 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/5.32, allocations: 121.1 kB / 3.034 GB, free: 30.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.129e-05/5.32, allocations: 43.97 kB / 3.034 GB, free: 30.59 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005195/5.321, allocations: 447.1 kB / 3.034 GB, free: 30.16 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.321, allocations: 4 kB / 3.034 GB, free: 30.15 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001344/5.322, allocations: 391 kB / 3.035 GB, free: 29.77 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.003963/5.326, allocations: 2.669 MB / 3.037 GB, free: 27.18 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001689/5.328, allocations: 0.9842 MB / 3.038 GB, free: 26.19 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/5.328, allocations: 4 kB / 3.038 GB, free: 26.19 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007894/5.328, allocations: 0.604 MB / 3.039 GB, free: 25.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/5.33, allocations: 248.9 kB / 3.039 GB, free: 25.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/5.334, allocations: 1.913 MB / 3.041 GB, free: 23.39 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/5.335, allocations: 1.143 MB / 3.042 GB, free: 22.21 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009752/5.336, allocations: 300.4 kB / 3.042 GB, free: 21.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/5.336, allocations: 487.2 kB / 3.043 GB, free: 21.44 MB / 1.151 GB Notification: Performance of SimCode: time 1.423e-06/5.336, allocations: 0 / 3.043 GB, free: 21.44 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8394/6.176, allocations: 28.62 MB / 3.071 GB, free: 381.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/6.176, allocations: 207.6 kB / 3.071 GB, free: 381.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.584/9.761, allocations: 0 / 3.071 GB, free: 381.5 MB / 1.151 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