Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001136/0.001137, allocations: 176.9 kB / 487.4 MB, free: 5.047 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008731, allocations: 95.89 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.999e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3019, allocations: 142.3 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.306, allocations: 156.8 MB / 1.359 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.306, allocations: 98.62 kB / 1.359 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02449/1.331, allocations: 9.974 MB / 1.369 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.331, allocations: 0 / 1.369 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.149e-05/1.331, allocations: 7.688 kB / 1.369 GB, free: 33.41 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.001048/1.332, allocations: 0.7035 MB / 1.37 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.332, allocations: 7.75 kB / 1.37 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/1.332, allocations: 50.47 kB / 1.37 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/1.333, allocations: 379.8 kB / 1.37 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/1.333, allocations: 18.3 kB / 1.37 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/1.333, allocations: 22.59 kB / 1.37 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004215/1.333, allocations: 245.1 kB / 1.37 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/1.334, allocations: 341 kB / 1.371 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.334, allocations: 3.953 kB / 1.371 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/1.334, allocations: 4 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/1.334, allocations: 12.38 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/1.335, allocations: 1.057 MB / 1.372 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/1.336, allocations: 279.5 kB / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/1.336, allocations: 131.6 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/1.336, allocations: 3.875 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/1.336, allocations: 202.5 kB / 1.372 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/1.336, allocations: 0 / 1.372 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0005164/1.337, allocations: 300.2 kB / 1.373 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.337, allocations: 113.6 kB / 1.373 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/1.337, allocations: 343 kB / 1.373 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/1.337, allocations: 43.34 kB / 1.373 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/1.337, allocations: 201 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/1.337, allocations: 84.55 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/1.337, allocations: 7.844 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.338, allocations: 347.7 kB / 1.374 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/1.338, allocations: 125.4 kB / 1.374 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/1.338, allocations: 217.6 kB / 1.374 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/1.338, allocations: 115.9 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.338, allocations: 0 / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005115/1.339, allocations: 383.9 kB / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.339, allocations: 37.58 kB / 1.374 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.339, allocations: 0 / 1.374 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.339, allocations: 3.844 kB / 1.374 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/1.339, allocations: 74.05 kB / 1.375 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.339, allocations: 7.828 kB / 1.375 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/1.339, allocations: 51.48 kB / 1.375 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/1.339, allocations: 25.86 kB / 1.375 GB, free: 30.98 MB / 0.8386 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.0001396/1.34, allocations: 135.5 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/1.34, allocations: 41.89 kB / 1.375 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/1.34, allocations: 346.3 kB / 1.375 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.34, allocations: 7.719 kB / 1.375 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.34, allocations: 0 / 1.375 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.34, allocations: 10.33 kB / 1.375 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.341, allocations: 0.8427 MB / 1.376 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.341, allocations: 0 / 1.376 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.341, allocations: 47.89 kB / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.341, allocations: 6.984 kB / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.342, allocations: 0 / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.342, allocations: 7.797 kB / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.342, allocations: 3.938 kB / 1.376 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/1.342, allocations: 410.1 kB / 1.376 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/1.342, allocations: 121.8 kB / 1.377 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/1.342, allocations: 18.48 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/1.342, allocations: 36.56 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.343, allocations: 64.89 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/1.343, allocations: 7.5 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002139/1.343, allocations: 257.3 kB / 1.377 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.343, allocations: 4 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004271/1.343, allocations: 98.86 kB / 1.377 GB, free: 30.09 MB / 0.8386 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.000843/1.344, allocations: 395.2 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005012/1.345, allocations: 378.3 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.345, allocations: 7.844 kB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/1.345, allocations: 154.6 kB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/1.345, allocations: 51.52 kB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/1.346, allocations: 0.4975 MB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.347, allocations: 0.8278 MB / 1.379 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002118/1.347, allocations: 61.92 kB / 1.379 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/1.347, allocations: 45.98 kB / 1.379 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.347, allocations: 0 / 1.379 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.008425/1.355, allocations: 5.09 MB / 1.384 GB, free: 27 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches