Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.3 MB / 261.8 MB, free: 5.969 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.001177/0.001177, allocations: 174.6 kB / 321.3 MB, free: 14.66 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.785/1.785, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001005/0.001005, allocations: 92.69 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.465e-05, allocations: 0 / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2222, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7234/0.9456, allocations: 139.5 MB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.9459, allocations: 96.59 kB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02666/0.9726, allocations: 9.883 MB / 1.038 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9726, allocations: 0 / 1.038 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.9727, allocations: 12 kB / 1.038 GB, free: 2.887 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001194/0.9739, allocations: 0.7061 MB / 1.039 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.9739, allocations: 8.031 kB / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.9741, allocations: 47.44 kB / 1.039 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.9747, allocations: 374 kB / 1.039 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.9747, allocations: 27.59 kB / 1.039 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.9748, allocations: 42.55 kB / 1.039 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.9755, allocations: 378.9 kB / 1.039 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.9756, allocations: 0 / 1.039 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.9756, allocations: 17.45 kB / 1.039 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.9756, allocations: 12.78 kB / 1.039 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.9761, allocations: 273.1 kB / 1.04 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.9779, allocations: 1.124 MB / 1.041 GB, free: 332 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.9785, allocations: 307.2 kB / 1.041 GB, free: 120 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.9787, allocations: 137.9 kB / 1.041 GB, free: 32 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.9788, allocations: 4 kB / 1.041 GB, free: 28 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.9792, allocations: 213.8 kB / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/0.9792, allocations: 0 / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.000653/0.9799, allocations: 332.8 kB / 1.042 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.98, allocations: 114.4 kB / 1.042 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.9804, allocations: 364 kB / 1.042 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.9805, allocations: 45.58 kB / 1.042 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.9806, allocations: 204.7 kB / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.9807, allocations: 92.8 kB / 1.042 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.9808, allocations: 10.38 kB / 1.042 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9809, allocations: 349.9 kB / 1.043 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.9812, allocations: 130.5 kB / 1.043 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.9815, allocations: 231.4 kB / 1.043 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.9818, allocations: 160.6 kB / 1.043 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9818, allocations: 0 / 1.043 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006943/0.9825, allocations: 441.3 kB / 1.044 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.9826, allocations: 37.89 kB / 1.044 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9826, allocations: 0 / 1.044 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9826, allocations: 11.95 kB / 1.044 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.9829, allocations: 67.14 kB / 1.044 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.9829, allocations: 4 kB / 1.044 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.9833, allocations: 74.2 kB / 1.044 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.9833, allocations: 19.19 kB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.9835, allocations: 160.2 kB / 1.044 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.9836, allocations: 35.53 kB / 1.044 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.9842, allocations: 370 kB / 1.044 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.9843, allocations: 4 kB / 1.044 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.9843, allocations: 3.953 kB / 1.044 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.9843, allocations: 3.984 kB / 1.044 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.9856, allocations: 0.9284 MB / 1.045 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9856, allocations: 0 / 1.045 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.9858, allocations: 55.42 kB / 1.045 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.9858, allocations: 4 kB / 1.045 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.9859, allocations: 11.67 kB / 1.045 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.9859, allocations: 0 / 1.045 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9859, allocations: 0 / 1.045 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.9865, allocations: 439.3 kB / 1.046 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.9866, allocations: 120.1 kB / 1.046 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.9867, allocations: 18.64 kB / 1.046 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.987, allocations: 43.2 kB / 1.046 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.9871, allocations: 59.53 kB / 1.046 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.9872, allocations: 11.62 kB / 1.046 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002914/0.9875, allocations: 274.5 kB / 1.046 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9875, allocations: 0 / 1.046 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004754/0.988, allocations: 121.3 kB / 1.047 GB, free: 11.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009665/0.9889, allocations: 432 kB / 1.047 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006473/0.9896, allocations: 399.6 kB / 1.047 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.9896, allocations: 384 / 1.047 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.9899, allocations: 174 kB / 1.047 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.9903, allocations: 59.38 kB / 1.048 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.9913, allocations: 0.5243 MB / 1.048 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.9917, allocations: 0.8237 MB / 1.049 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.992, allocations: 66.8 kB / 1.049 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.9921, allocations: 39.42 kB / 1.049 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/0.9921, allocations: 0 / 1.049 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of Templates: time 0.01009/1.002, allocations: 5.393 MB / 1.054 GB, free: 3.875 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches