Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.486/2.486, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001666/0.001666, allocations: 169 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.001046/0.001047, allocations: 107.9 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.85e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3406, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.359, allocations: 158.3 MB / 1.373 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.359, allocations: 94.94 kB / 1.373 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02816/1.387, allocations: 10.07 MB / 1.383 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.387, allocations: 0 / 1.383 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.8e-05/1.387, allocations: 8 kB / 1.383 GB, free: 3.297 MB / 0.8386 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.001687/1.389, allocations: 0.7045 MB / 1.384 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/1.389, allocations: 8.031 kB / 1.384 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/1.389, allocations: 51.42 kB / 1.384 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/1.39, allocations: 379.1 kB / 1.384 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/1.39, allocations: 27.41 kB / 1.384 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/1.39, allocations: 34.44 kB / 1.384 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/1.391, allocations: 386.8 kB / 1.385 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.391, allocations: 3.953 kB / 1.385 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/1.391, allocations: 10.88 kB / 1.385 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/1.391, allocations: 20.7 kB / 1.385 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/1.392, allocations: 264.4 kB / 1.385 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/1.394, allocations: 1.118 MB / 1.386 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/1.394, allocations: 309.6 kB / 1.386 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/1.395, allocations: 134 kB / 1.387 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/1.395, allocations: 4 kB / 1.387 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/1.395, allocations: 216.7 kB / 1.387 GB, free: 272 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/1.395, allocations: 7.938 kB / 1.387 GB, free: 264 kB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0006328/1.396, allocations: 318.3 kB / 1.387 GB, free: 12 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/1.396, allocations: 107.4 kB / 1.387 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/1.396, allocations: 372.2 kB / 1.388 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/1.396, allocations: 47.45 kB / 1.388 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/1.397, allocations: 207.5 kB / 1.388 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.397, allocations: 92.42 kB / 1.388 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/1.397, allocations: 7.562 kB / 1.388 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.397, allocations: 352 kB / 1.388 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/1.397, allocations: 124.7 kB / 1.388 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/1.397, allocations: 236.2 kB / 1.389 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.398, allocations: 157.7 kB / 1.389 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.398, allocations: 0 / 1.389 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006954/1.398, allocations: 443.6 kB / 1.389 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/1.399, allocations: 39.05 kB / 1.389 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.399, allocations: 3.953 kB / 1.389 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.399, allocations: 4 kB / 1.389 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/1.399, allocations: 71.64 kB / 1.389 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.399, allocations: 4 kB / 1.389 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/1.399, allocations: 66.48 kB / 1.389 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/1.399, allocations: 23.67 kB / 1.389 GB, free: 14.04 MB / 0.8542 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.000168/1.399, allocations: 156.9 kB / 1.39 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/1.4, allocations: 35.53 kB / 1.39 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/1.4, allocations: 375.6 kB / 1.39 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/1.4, allocations: 7.953 kB / 1.39 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.4, allocations: 3.938 kB / 1.39 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/1.4, allocations: 0 / 1.39 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/1.402, allocations: 0.9346 MB / 1.391 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.402, allocations: 0 / 1.391 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/1.402, allocations: 39.97 kB / 1.391 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.402, allocations: 4 kB / 1.391 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/1.402, allocations: 15.61 kB / 1.391 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.402, allocations: 7.938 kB / 1.391 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.402, allocations: 3.984 kB / 1.391 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/1.402, allocations: 434.8 kB / 1.391 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.403, allocations: 125.9 kB / 1.391 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/1.403, allocations: 14.48 kB / 1.391 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/1.403, allocations: 46.34 kB / 1.391 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.403, allocations: 63.64 kB / 1.392 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/1.403, allocations: 11.98 kB / 1.392 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002955/1.403, allocations: 265.2 kB / 1.392 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.403, allocations: 0 / 1.392 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004962/1.404, allocations: 126.1 kB / 1.392 GB, free: 11.81 MB / 0.8542 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.001069/1.405, allocations: 420.5 kB / 1.392 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007843/1.406, allocations: 402.3 kB / 1.393 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.406, allocations: 0 / 1.393 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/1.406, allocations: 164.4 kB / 1.393 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/1.407, allocations: 65.14 kB / 1.393 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/1.408, allocations: 0.5211 MB / 1.393 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/1.408, allocations: 0.827 MB / 1.394 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002884/1.409, allocations: 66.81 kB / 1.394 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.409, allocations: 43.41 kB / 1.394 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/1.409, allocations: 0 / 1.394 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of Templates: time 0.01173/1.421, allocations: 5.395 MB / 1.4 GB, free: 4.336 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches