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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 175.6 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008938/0.0008938, allocations: 89.25 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 11.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.81/6.076, allocations: 2.193 GB / 3.093 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/6.077, allocations: 105.8 kB / 3.093 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1468/6.223, allocations: 65.18 MB / 3.156 GB, free: 236 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.397e-06/6.223, allocations: 0 / 3.156 GB, free: 236 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001754/6.224, allocations: 31.44 kB / 3.156 GB, free: 235.9 MB / 0.8855 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.003723/6.227, allocations: 1.438 MB / 3.158 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/6.227, allocations: 11.72 kB / 3.158 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/6.228, allocations: 223.6 kB / 3.158 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/6.23, allocations: 0.7586 MB / 3.159 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/6.23, allocations: 98.75 kB / 3.159 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/6.23, allocations: 118.9 kB / 3.159 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/6.232, allocations: 1.249 MB / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/6.232, allocations: 0 / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/6.232, allocations: 48.97 kB / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/6.232, allocations: 41.53 kB / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/6.234, allocations: 1.424 MB / 3.162 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/6.24, allocations: 3.486 MB / 3.165 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/6.241, allocations: 1.053 MB / 3.166 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/6.241, allocations: 36.59 kB / 3.166 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009276/6.242, allocations: 0.6121 MB / 3.167 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=118): time 3.046e-06/6.242, allocations: 0 / 3.167 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118): time 0.003453/6.246, allocations: 1.493 MB / 3.168 GB, free: 231 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/6.246, allocations: 259.3 kB / 3.169 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/6.247, allocations: 0.6737 MB / 3.169 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/6.247, allocations: 62.11 kB / 3.169 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/6.247, allocations: 467.9 kB / 3.17 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/6.248, allocations: 346.3 kB / 3.17 GB, free: 230 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/6.248, allocations: 20.78 kB / 3.17 GB, free: 230 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001671/6.248, allocations: 402.5 kB / 3.17 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/6.249, allocations: 371.5 kB / 3.171 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/6.249, allocations: 0.5353 MB / 3.171 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/6.25, allocations: 414.9 kB / 3.172 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/6.25, allocations: 0 / 3.172 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002091/6.252, allocations: 1.13 MB / 3.173 GB, free: 229 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/6.252, allocations: 6.5 kB / 3.173 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/6.252, allocations: 7.859 kB / 3.173 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/6.253, allocations: 87.09 kB / 3.173 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/6.253, allocations: 182.6 kB / 3.173 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/6.255, allocations: 1.552 MB / 3.175 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/6.256, allocations: 132.2 kB / 3.175 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/6.256, allocations: 53.81 kB / 3.175 GB, free: 227.5 MB / 0.8855 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.0007526/6.257, allocations: 358.9 kB / 3.175 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/6.257, allocations: 97.66 kB / 3.175 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/6.26, allocations: 1.338 MB / 3.176 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/6.26, allocations: 15.59 kB / 3.177 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/6.26, allocations: 0 / 3.177 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/6.26, allocations: 15.86 kB / 3.177 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004/6.264, allocations: 2.631 MB / 3.179 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/6.264, allocations: 3.938 kB / 3.179 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/6.264, allocations: 172.1 kB / 3.179 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/6.265, allocations: 94.53 kB / 3.179 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/6.265, allocations: 26.61 kB / 3.179 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/6.266, allocations: 1.56 MB / 3.181 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/6.266, allocations: 3.906 kB / 3.181 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/6.269, allocations: 1.237 MB / 3.182 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/6.269, allocations: 329.9 kB / 3.182 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/6.269, allocations: 37.91 kB / 3.182 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007009/6.27, allocations: 108.4 kB / 3.183 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/6.27, allocations: 115.3 kB / 3.183 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/6.27, allocations: 42.58 kB / 3.183 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007224/6.271, allocations: 0.5106 MB / 3.183 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/6.271, allocations: 0 / 3.183 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001528/6.273, allocations: 412.6 kB / 3.184 GB, free: 223.6 MB / 0.8855 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.001916/6.275, allocations: 1.06 MB / 3.185 GB, free: 223 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00194/6.277, allocations: 1.106 MB / 3.186 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/6.277, allocations: 0.5625 kB / 3.186 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009554/6.278, allocations: 0.6803 MB / 3.186 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/6.279, allocations: 269.4 kB / 3.187 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/6.283, allocations: 2.655 MB / 3.189 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/6.284, allocations: 1.146 MB / 3.19 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001079/6.285, allocations: 303.5 kB / 3.191 GB, free: 220 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/6.285, allocations: 118.8 kB / 3.191 GB, free: 220 MB / 0.8855 GB Notification: Performance of SimCode: time 2.705e-06/6.285, allocations: 0 / 3.191 GB, free: 220 MB / 0.8855 GB Notification: Performance of Templates: time 0.03601/6.321, allocations: 23.3 MB / 3.214 GB, free: 206.8 MB / 0.8855 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