Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooModCon.TSupSet|cooModCon.TRet|cooModCon.TOutDryBul|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooModCon.TSupSet|cooModCon.TRet|cooModCon.TOutDryBul|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 180.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008555/0.0008556, allocations: 86.48 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.999e-05, allocations: 0 / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.211, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.876/7.087, allocations: 2.193 GB / 3.084 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/7.087, allocations: 99.05 kB / 3.084 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1433/7.23, allocations: 64.86 MB / 3.148 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.485e-06/7.23, allocations: 0 / 3.148 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001555/7.231, allocations: 35.88 kB / 3.148 GB, free: 75.48 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003384/7.234, allocations: 1.309 MB / 3.149 GB, free: 74.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/7.234, allocations: 12.03 kB / 3.149 GB, free: 74.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/7.235, allocations: 226.1 kB / 3.149 GB, free: 73.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/7.237, allocations: 0.7446 MB / 3.15 GB, free: 73.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/7.237, allocations: 102.3 kB / 3.15 GB, free: 72.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/7.238, allocations: 120 kB / 3.15 GB, free: 72.86 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/7.24, allocations: 1.21 MB / 3.151 GB, free: 71.58 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/7.24, allocations: 3.938 kB / 3.151 GB, free: 71.58 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/7.24, allocations: 51.98 kB / 3.151 GB, free: 71.53 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/7.24, allocations: 42.25 kB / 3.152 GB, free: 71.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/7.243, allocations: 1.363 MB / 3.153 GB, free: 70.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005446/7.248, allocations: 3.497 MB / 3.156 GB, free: 66.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/7.249, allocations: 1.001 MB / 3.157 GB, free: 65.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/7.25, allocations: 425.8 kB / 3.158 GB, free: 65.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/7.25, allocations: 33.03 kB / 3.158 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008456/7.251, allocations: 0.5827 MB / 3.158 GB, free: 64.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 3.787e-06/7.251, allocations: 0 / 3.158 GB, free: 64.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.001952/7.253, allocations: 0.958 MB / 3.159 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/7.253, allocations: 256.3 kB / 3.159 GB, free: 63.19 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008033/7.254, allocations: 0.6676 MB / 3.16 GB, free: 62.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/7.254, allocations: 65.7 kB / 3.16 GB, free: 62.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/7.254, allocations: 464.8 kB / 3.161 GB, free: 61.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/7.254, allocations: 335.3 kB / 3.161 GB, free: 61.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/7.254, allocations: 31.94 kB / 3.161 GB, free: 61.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/7.255, allocations: 402.7 kB / 3.161 GB, free: 61.22 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/7.255, allocations: 346.5 kB / 3.162 GB, free: 60.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/7.256, allocations: 0.5164 MB / 3.162 GB, free: 60.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/7.256, allocations: 380.9 kB / 3.163 GB, free: 59.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/7.256, allocations: 0 / 3.163 GB, free: 59.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001979/7.258, allocations: 1.082 MB / 3.164 GB, free: 58.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/7.258, allocations: 4 kB / 3.164 GB, free: 58.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/7.258, allocations: 4 kB / 3.164 GB, free: 58.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/7.259, allocations: 84.97 kB / 3.164 GB, free: 58.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/7.26, allocations: 195.6 kB / 3.164 GB, free: 58.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/7.261, allocations: 1.521 MB / 3.165 GB, free: 56.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/7.262, allocations: 135.3 kB / 3.165 GB, free: 56.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/7.262, allocations: 43.98 kB / 3.165 GB, free: 56.73 MB / 0.8698 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.0002852/7.263, allocations: 212.8 kB / 3.166 GB, free: 56.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/7.263, allocations: 98.78 kB / 3.166 GB, free: 56.43 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/7.265, allocations: 1.301 MB / 3.167 GB, free: 55.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/7.265, allocations: 12 kB / 3.167 GB, free: 55.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/7.265, allocations: 7.953 kB / 3.167 GB, free: 55.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/7.265, allocations: 3.984 kB / 3.167 GB, free: 55.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/7.269, allocations: 2.584 MB / 3.17 GB, free: 52.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/7.269, allocations: 3.938 kB / 3.17 GB, free: 52.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/7.27, allocations: 171.7 kB / 3.17 GB, free: 52.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/7.27, allocations: 88.77 kB / 3.17 GB, free: 52.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/7.27, allocations: 31.98 kB / 3.17 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/7.272, allocations: 1.544 MB / 3.171 GB, free: 50.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/7.272, allocations: 4.031 kB / 3.171 GB, free: 50.46 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/7.273, allocations: 1.184 MB / 3.173 GB, free: 49.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/7.274, allocations: 335.3 kB / 3.173 GB, free: 48.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/7.274, allocations: 27.95 kB / 3.173 GB, free: 48.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/7.275, allocations: 107.9 kB / 3.173 GB, free: 48.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/7.275, allocations: 121.1 kB / 3.173 GB, free: 48.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/7.275, allocations: 47.97 kB / 3.173 GB, free: 48.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005859/7.276, allocations: 0.4991 MB / 3.174 GB, free: 48.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.276, allocations: 4 kB / 3.174 GB, free: 48.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001255/7.277, allocations: 407.3 kB / 3.174 GB, free: 47.71 MB / 0.8698 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.001807/7.279, allocations: 1.029 MB / 3.175 GB, free: 46.76 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001712/7.28, allocations: 1.049 MB / 3.176 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/7.28, allocations: 0 / 3.176 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008255/7.281, allocations: 0.6548 MB / 3.177 GB, free: 45.04 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/7.282, allocations: 260 kB / 3.177 GB, free: 44.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/7.286, allocations: 1.737 MB / 3.179 GB, free: 43.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/7.287, allocations: 1.143 MB / 3.18 GB, free: 41.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009495/7.288, allocations: 312.6 kB / 3.18 GB, free: 41.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/7.288, allocations: 115.4 kB / 3.18 GB, free: 41.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/7.288, allocations: 0 / 3.18 GB, free: 41.43 MB / 0.8698 GB Notification: Performance of Templates: time 0.03474/7.323, allocations: 24.95 MB / 3.205 GB, free: 16.55 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches