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.446/1.446, 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.001123/0.001122, allocations: 181.2 kB / 326.5 MB, free: 2.254 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.734/1.734, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001249/0.001249, allocations: 93.73 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003292, allocations: 10.47 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.4046, allocations: 139.6 MB / 1.036 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.405, allocations: 99.88 kB / 1.037 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02676/0.4318, allocations: 9.92 MB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4318, allocations: 0 / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.85e-05/0.4319, allocations: 8 kB / 1.046 GB, free: 10.05 MB / 0.698 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.001574/0.4334, allocations: 0.7447 MB / 1.047 GB, free: 9.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4335, allocations: 12.03 kB / 1.047 GB, free: 9.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.4337, allocations: 55.42 kB / 1.047 GB, free: 9.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/0.4345, allocations: 382.7 kB / 1.047 GB, free: 8.758 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.4346, allocations: 28.66 kB / 1.047 GB, free: 8.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/0.4347, allocations: 40 kB / 1.047 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.4356, allocations: 406.7 kB / 1.048 GB, free: 8.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4357, allocations: 0 / 1.048 GB, free: 8.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.4357, allocations: 15.95 kB / 1.048 GB, free: 8.262 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.4357, allocations: 20.62 kB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.4366, allocations: 326.4 kB / 1.048 GB, free: 7.922 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.4387, allocations: 1.116 MB / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.4395, allocations: 360.5 kB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.4395, allocations: 7.984 kB / 1.05 GB, free: 6.383 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/0.4401, allocations: 243 kB / 1.05 GB, free: 6.133 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.495e-06/0.4401, allocations: 0 / 1.05 GB, free: 6.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001191/0.4413, allocations: 0.5099 MB / 1.05 GB, free: 5.617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.4414, allocations: 107.4 kB / 1.05 GB, free: 5.488 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.4419, allocations: 371.4 kB / 1.051 GB, free: 5.121 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.442, allocations: 45.69 kB / 1.051 GB, free: 5.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.4422, allocations: 200.8 kB / 1.051 GB, free: 4.871 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.4423, allocations: 98.7 kB / 1.051 GB, free: 4.773 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.4424, allocations: 8 kB / 1.051 GB, free: 4.766 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4426, allocations: 358.7 kB / 1.052 GB, free: 4.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.443, allocations: 161 kB / 1.052 GB, free: 4.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.4435, allocations: 258.5 kB / 1.052 GB, free: 3.965 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.4439, allocations: 186.5 kB / 1.052 GB, free: 3.781 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4439, allocations: 4 kB / 1.052 GB, free: 3.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001015/0.445, allocations: 0.4971 MB / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.445, allocations: 29.7 kB / 1.053 GB, free: 3.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.445, allocations: 7.984 kB / 1.053 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4451, allocations: 4 kB / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4454, allocations: 76.03 kB / 1.053 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.4454, allocations: 11.94 kB / 1.053 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.4458, allocations: 59.8 kB / 1.053 GB, free: 3.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.4458, allocations: 16 kB / 1.053 GB, free: 3.059 MB / 0.698 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 () * Number of clocked 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.0003086/0.4462, allocations: 211 kB / 1.053 GB, free: 2.844 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.4462, allocations: 39.53 kB / 1.053 GB, free: 2.805 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009194/0.4472, allocations: 432.7 kB / 1.053 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4472, allocations: 4 kB / 1.053 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4472, allocations: 3.953 kB / 1.053 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4472, allocations: 4 kB / 1.053 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.4489, allocations: 0.9893 MB / 1.054 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4489, allocations: 3.938 kB / 1.054 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.4492, allocations: 55.91 kB / 1.054 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.4492, allocations: 3.953 kB / 1.054 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4492, allocations: 8 kB / 1.054 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.4492, allocations: 3.984 kB / 1.054 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4492, allocations: 0 / 1.054 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.4501, allocations: 499 kB / 1.055 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.4502, allocations: 128.6 kB / 1.055 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.4503, allocations: 11.95 kB / 1.055 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.4506, allocations: 55.89 kB / 1.055 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.4508, allocations: 51.91 kB / 1.055 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.4508, allocations: 16 kB / 1.055 GB, free: 464 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002942/0.4511, allocations: 275 kB / 1.055 GB, free: 192 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4511, allocations: 0 / 1.055 GB, free: 192 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005202/0.4517, allocations: 104 kB / 1.056 GB, free: 88 kB / 0.698 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) * Number of clocked states: 0 () * 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.4101/0.8617, allocations: 467.3 kB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.8631, allocations: 454.7 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8631, allocations: 0.9688 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.8636, allocations: 196.5 kB / 1.057 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.8642, allocations: 63.25 kB / 1.057 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.8656, allocations: 0.8034 MB / 1.057 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.866, allocations: 0.8318 MB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.8662, allocations: 54.3 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.8663, allocations: 46.78 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.8664, allocations: 0 / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01163/0.878, allocations: 5.38 MB / 1.064 GB, free: 146.3 MB / 0.698 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