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.593/1.593, allocations: 249.5 MB / 257 MB, free: 6.934 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.00107/0.00107, allocations: 180.8 kB / 316.3 MB, free: 3.301 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.782/1.782, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009229/0.0009229, allocations: 91.55 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.609e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.779/1.03, allocations: 139.8 MB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.031, allocations: 97.2 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02648/1.057, allocations: 9.784 MB / 1.031 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.734e-06/1.057, allocations: 0 / 1.031 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.279e-05/1.057, allocations: 12 kB / 1.031 GB, free: 5.895 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.001182/1.058, allocations: 0.6973 MB / 1.032 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.058, allocations: 8.031 kB / 1.032 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/1.059, allocations: 47.44 kB / 1.032 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/1.059, allocations: 378.5 kB / 1.033 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/1.059, allocations: 19.11 kB / 1.033 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/1.059, allocations: 24 kB / 1.033 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004517/1.06, allocations: 248.6 kB / 1.033 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/1.06, allocations: 337.8 kB / 1.033 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.06, allocations: 3.953 kB / 1.033 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/1.06, allocations: 6.438 kB / 1.033 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/1.06, allocations: 8.781 kB / 1.033 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/1.062, allocations: 1.057 MB / 1.034 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/1.062, allocations: 284.3 kB / 1.034 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/1.063, allocations: 123.4 kB / 1.035 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/1.063, allocations: 8.609 kB / 1.035 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/1.063, allocations: 204.4 kB / 1.035 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.655e-06/1.063, allocations: 4 kB / 1.035 GB, free: 3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0006136/1.064, allocations: 305.8 kB / 1.035 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.064, allocations: 118.5 kB / 1.035 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/1.064, allocations: 346.6 kB / 1.035 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/1.064, allocations: 32.7 kB / 1.036 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/1.064, allocations: 206.2 kB / 1.036 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/1.064, allocations: 92.17 kB / 1.036 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/1.064, allocations: 0 / 1.036 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.065, allocations: 352.7 kB / 1.036 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/1.065, allocations: 117.6 kB / 1.036 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/1.065, allocations: 212.6 kB / 1.036 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/1.065, allocations: 128.2 kB / 1.037 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.065, allocations: 0 / 1.037 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006219/1.066, allocations: 376.8 kB / 1.037 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.066, allocations: 30.95 kB / 1.037 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.066, allocations: 4 kB / 1.037 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/1.066, allocations: 12.12 kB / 1.037 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/1.066, allocations: 66.89 kB / 1.037 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.066, allocations: 11.89 kB / 1.037 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/1.067, allocations: 55.7 kB / 1.037 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/1.067, allocations: 19.56 kB / 1.037 GB, free: 0.9258 MB / 0.6511 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.0001638/1.067, allocations: 140.8 kB / 1.037 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/1.067, allocations: 35.53 kB / 1.037 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005941/1.068, allocations: 333.9 kB / 1.038 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.068, allocations: 4 kB / 1.038 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.068, allocations: 4 kB / 1.038 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.068, allocations: 11.97 kB / 1.038 GB, free: 496 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/1.069, allocations: 0.8497 MB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.069, allocations: 0 / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/1.069, allocations: 47.59 kB / 1.039 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/1.069, allocations: 4 kB / 1.039 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/1.069, allocations: 4 kB / 1.039 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.069, allocations: 7.938 kB / 1.039 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.069, allocations: 4 kB / 1.039 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/1.07, allocations: 408.5 kB / 1.039 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.07, allocations: 128.1 kB / 1.039 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/1.07, allocations: 4 kB / 1.039 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/1.07, allocations: 43.58 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.07, allocations: 62.56 kB / 1.039 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/1.07, allocations: 15.48 kB / 1.039 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002505/1.071, allocations: 253.6 kB / 1.039 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.071, allocations: 0 / 1.039 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000445/1.071, allocations: 99.56 kB / 1.04 GB, free: 14.84 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.0009195/1.072, allocations: 400.6 kB / 1.04 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005744/1.073, allocations: 377.7 kB / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.073, allocations: 4.125 kB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/1.073, allocations: 157.8 kB / 1.04 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/1.073, allocations: 53.8 kB / 1.04 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/1.074, allocations: 0.5104 MB / 1.041 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/1.075, allocations: 0.8201 MB / 1.042 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002147/1.075, allocations: 63.25 kB / 1.042 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/1.075, allocations: 43.23 kB / 1.042 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of SimCode: time 2.7e-07/1.075, allocations: 0 / 1.042 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.009916/1.085, allocations: 5.095 MB / 1.047 GB, free: 7.684 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