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: 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_latest_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_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.514/2.514, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001191/0.001191, allocations: 176 kB / 0.4902 GB, free: 2.242 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.801/1.801, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001052/0.001052, allocations: 102.9 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004083, allocations: 6.906 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3891, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.727/5.116, allocations: 1.734 GB / 2.963 GB, free: 252.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/5.116, allocations: 105.2 kB / 2.964 GB, free: 252.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1471/5.263, allocations: 65.83 MB / 3.028 GB, free: 186.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.226e-06/5.263, allocations: 0 / 3.028 GB, free: 186.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001566/5.264, allocations: 35.94 kB / 3.028 GB, free: 186 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.00443/5.268, allocations: 1.462 MB / 3.029 GB, free: 184.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/5.268, allocations: 12.52 kB / 3.029 GB, free: 184.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/5.27, allocations: 226.1 kB / 3.03 GB, free: 184.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/5.272, allocations: 0.764 MB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/5.272, allocations: 94.36 kB / 3.03 GB, free: 183.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/5.272, allocations: 124 kB / 3.03 GB, free: 183.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/5.274, allocations: 1.265 MB / 3.032 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/5.274, allocations: 0 / 3.032 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/5.275, allocations: 48 kB / 3.032 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/5.275, allocations: 42.28 kB / 3.032 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/5.277, allocations: 1.426 MB / 3.033 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005248/5.282, allocations: 3.521 MB / 3.037 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/5.283, allocations: 1.065 MB / 3.038 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/5.284, allocations: 37.02 kB / 3.038 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009286/5.284, allocations: 0.606 MB / 3.038 GB, free: 175 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 5.04e-06/5.284, allocations: 4 kB / 3.038 GB, free: 175 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.003408/5.288, allocations: 1.494 MB / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/5.288, allocations: 252.3 kB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/5.289, allocations: 0.6908 MB / 3.041 GB, free: 172.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/5.289, allocations: 61.7 kB / 3.041 GB, free: 172.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/5.29, allocations: 464.8 kB / 3.041 GB, free: 172 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/5.29, allocations: 347.1 kB / 3.041 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/5.29, allocations: 28 kB / 3.042 GB, free: 171.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001319/5.29, allocations: 410.6 kB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/5.291, allocations: 366.4 kB / 3.042 GB, free: 170.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/5.291, allocations: 0.5359 MB / 3.043 GB, free: 170.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/5.292, allocations: 402.3 kB / 3.043 GB, free: 169.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/5.292, allocations: 8 kB / 3.043 GB, free: 169.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002154/5.294, allocations: 1.121 MB / 3.044 GB, free: 168.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/5.294, allocations: 11.94 kB / 3.044 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/5.294, allocations: 4 kB / 3.044 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/5.295, allocations: 92.8 kB / 3.044 GB, free: 168.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/5.296, allocations: 183.7 kB / 3.045 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/5.297, allocations: 1.536 MB / 3.046 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/5.298, allocations: 147.1 kB / 3.046 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.216e-05/5.298, allocations: 47.97 kB / 3.046 GB, free: 166.6 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.0007226/5.299, allocations: 358.4 kB / 3.047 GB, free: 166.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/5.299, allocations: 98.86 kB / 3.047 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/5.302, allocations: 1.348 MB / 3.048 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/5.302, allocations: 12 kB / 3.048 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/5.302, allocations: 0 / 3.048 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/5.302, allocations: 15.95 kB / 3.048 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/5.306, allocations: 2.642 MB / 3.051 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/5.306, allocations: 4 kB / 3.051 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/5.306, allocations: 171.7 kB / 3.051 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005291/5.307, allocations: 88.78 kB / 3.051 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/5.307, allocations: 35.97 kB / 3.051 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/5.309, allocations: 1.555 MB / 3.052 GB, free: 160.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/5.309, allocations: 3.984 kB / 3.052 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/5.311, allocations: 1.239 MB / 3.054 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/5.311, allocations: 335.6 kB / 3.054 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/5.312, allocations: 31.98 kB / 3.054 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007212/5.312, allocations: 99.92 kB / 3.054 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/5.313, allocations: 125.1 kB / 3.054 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/5.313, allocations: 47.98 kB / 3.054 GB, free: 158.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006574/5.313, allocations: 0.5185 MB / 3.055 GB, free: 157.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.313, allocations: 0 / 3.055 GB, free: 157.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001461/5.315, allocations: 439.2 kB / 3.055 GB, free: 157.2 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.002013/5.317, allocations: 1.109 MB / 3.056 GB, free: 156.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002052/5.319, allocations: 1.104 MB / 3.057 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/5.319, allocations: 3.938 kB / 3.057 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/5.32, allocations: 0.6743 MB / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/5.321, allocations: 271.9 kB / 3.058 GB, free: 154.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/5.326, allocations: 2.686 MB / 3.061 GB, free: 151.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/5.326, allocations: 1.144 MB / 3.062 GB, free: 150.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001138/5.328, allocations: 308.7 kB / 3.062 GB, free: 150 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/5.328, allocations: 127.4 kB / 3.062 GB, free: 149.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.734e-06/5.328, allocations: 0 / 3.062 GB, free: 149.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03323/5.361, allocations: 23.66 MB / 3.085 GB, free: 126.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (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 & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches