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.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.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.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.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.914 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.001137/0.001137, allocations: 176.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008765/0.0008763, allocations: 86.48 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.794e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2322, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.734/0.9663, allocations: 136 MB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.9665, allocations: 94.67 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01765/0.9842, allocations: 7.25 MB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9842, allocations: 0 / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.9843, allocations: 12 kB / 1.025 GB, free: 11.63 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0009792/0.9852, allocations: 0.6498 MB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9853, allocations: 12.03 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.9854, allocations: 51.42 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.9858, allocations: 331.3 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.9859, allocations: 19 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.9859, allocations: 32 kB / 1.026 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006399/0.9866, allocations: 384.4 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.9873, allocations: 444.1 kB / 1.027 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.9873, allocations: 0 / 1.027 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.9874, allocations: 4 kB / 1.027 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.9874, allocations: 25.3 kB / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.9894, allocations: 1.304 MB / 1.028 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.9899, allocations: 354.3 kB / 1.029 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.9901, allocations: 166.6 kB / 1.029 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.9902, allocations: 4.438 kB / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.9906, allocations: 241 kB / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.034e-06/0.9906, allocations: 0 / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0006495/0.9912, allocations: 336.8 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.9913, allocations: 67.39 kB / 1.03 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.9915, allocations: 214.7 kB / 1.03 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.9916, allocations: 40.75 kB / 1.03 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.9917, allocations: 207.3 kB / 1.03 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.9918, allocations: 113.4 kB / 1.03 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.9919, allocations: 4 kB / 1.03 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.992, allocations: 346.2 kB / 1.03 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.9923, allocations: 152.8 kB / 1.031 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.9926, allocations: 226.3 kB / 1.031 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.9928, allocations: 155.4 kB / 1.031 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9928, allocations: 0 / 1.031 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000672/0.9935, allocations: 457.1 kB / 1.031 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.9936, allocations: 31.27 kB / 1.031 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.9936, allocations: 8.172 kB / 1.031 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9936, allocations: 8 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.9939, allocations: 71.64 kB / 1.031 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.9939, allocations: 4 kB / 1.031 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.9943, allocations: 75.69 kB / 1.032 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.9944, allocations: 23.44 kB / 1.032 GB, free: 6.348 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$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.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.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,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 (79): * Single equations (assignments): 78 * 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.0001593/0.9945, allocations: 166.4 kB / 1.032 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.9946, allocations: 27.62 kB / 1.032 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.9953, allocations: 411.7 kB / 1.032 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.9953, allocations: 7.953 kB / 1.032 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9953, allocations: 0 / 1.032 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.9954, allocations: 3.984 kB / 1.032 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.9968, allocations: 0.9777 MB / 1.033 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9968, allocations: 3.984 kB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.997, allocations: 43.91 kB / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.997, allocations: 3.938 kB / 1.033 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.997, allocations: 7.25 kB / 1.033 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.997, allocations: 4 kB / 1.033 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.997, allocations: 0 / 1.033 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.9977, allocations: 477.3 kB / 1.034 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.9978, allocations: 108.7 kB / 1.034 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.9978, allocations: 3.938 kB / 1.034 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.9981, allocations: 54.81 kB / 1.034 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.9983, allocations: 75.95 kB / 1.034 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.9983, allocations: 15.25 kB / 1.034 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001058/0.9984, allocations: 135.3 kB / 1.034 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.9984, allocations: 0 / 1.034 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003824/0.9988, allocations: 87.28 kB / 1.034 GB, free: 4.148 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$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.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.999, allocations: 143.9 kB / 1.034 GB, free: 4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006788/0.9997, allocations: 466 kB / 1.035 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9997, allocations: 0 / 1.035 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/1, allocations: 203.6 kB / 1.035 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1, allocations: 36.45 kB / 1.035 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/1.001, allocations: 0.4926 MB / 1.035 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/1.002, allocations: 0.8234 MB / 1.036 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002005/1.002, allocations: 59.28 kB / 1.036 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.002, allocations: 38.48 kB / 1.036 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of SimCode: time 2.044e-06/1.002, allocations: 4 kB / 1.036 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of Templates: time 0.008859/1.011, allocations: 4.106 MB / 1.04 GB, free: 14.08 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches