Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 103.4 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 191 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.25 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005347/0.3552, allocations: 2.93 MB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.3582, allocations: 1.519 MB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.3584, allocations: 11.94 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.3589, allocations: 107.1 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.3593, allocations: 127.1 kB / 1.023 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009766/0.3603, allocations: 417.1 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.361, allocations: 0.5344 MB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.3613, allocations: 214 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.3616, allocations: 203.1 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3619, allocations: 199 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.362, allocations: 44 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.3622, allocations: 91.95 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.3624, allocations: 103.6 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.3626, allocations: 210.8 kB / 1.025 GB, free: 3.953 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007458/0.3634, allocations: 0.5921 MB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3634, allocations: 0 / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3634, allocations: 0 / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.3634, allocations: 0 / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00138/0.3648, allocations: 0.7844 MB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3648, allocations: 15.97 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3649, allocations: 52.28 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/0.3656, allocations: 430.5 kB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.3657, allocations: 20.94 kB / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.3657, allocations: 31.94 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.3664, allocations: 327.9 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3664, allocations: 0 / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.3664, allocations: 12 kB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3664, allocations: 8 kB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.367, allocations: 214.1 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3686, allocations: 1.108 MB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.3693, allocations: 236.2 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.3696, allocations: 112.8 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.3696, allocations: 7.984 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.3701, allocations: 169.5 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.3701, allocations: 0 / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.000917/0.371, allocations: 346.7 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.3711, allocations: 114.7 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.3717, allocations: 453.8 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.3717, allocations: 33.7 kB / 1.029 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.372, allocations: 228.5 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.372, allocations: 63.02 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3721, allocations: 61.69 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3723, allocations: 346.8 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3726, allocations: 87.89 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.3729, allocations: 157.2 kB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.3734, allocations: 223.7 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3734, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006677/0.3741, allocations: 304.8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3741, allocations: 8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3741, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3741, allocations: 4 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.3744, allocations: 51.91 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3744, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3746, allocations: 35.77 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3747, allocations: 4 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.3749, allocations: 183 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.375, allocations: 47.38 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.3751, allocations: 47.83 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3751, allocations: 4 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3751, allocations: 0 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3751, allocations: 0 / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.3756, allocations: 413.2 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3756, allocations: 3.984 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.3758, allocations: 47.89 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3759, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3759, allocations: 8 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3759, allocations: 3.938 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3759, allocations: 3.984 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.3769, allocations: 422.9 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.377, allocations: 148.4 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.3771, allocations: 8 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3772, allocations: 15.98 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.3773, allocations: 15.98 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.3774, allocations: 11.98 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004029/0.3778, allocations: 311.1 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3778, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003451/0.3781, allocations: 83.83 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00163/0.3798, allocations: 422.8 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006365/0.3804, allocations: 227.6 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3804, allocations: 0 / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.3807, allocations: 115.4 kB / 1.033 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.3813, allocations: 125.2 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.3827, allocations: 0.7268 MB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3832, allocations: 0.8148 MB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3834, allocations: 35.42 kB / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3834, allocations: 0 / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of Templates: time 0.009506/0.3929, allocations: 5.628 MB / 1.04 GB, free: 3.309 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches