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.00169/0.00169, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001579/0.001579, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.565/1.565, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.738/2.738, allocations: 437 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00254/0.00254, allocations: 71.89 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4201, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005803/0.426, allocations: 2.957 MB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.4292, allocations: 1.488 MB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.4296, allocations: 11.94 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.4302, allocations: 91.47 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.4307, allocations: 115.4 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4318, allocations: 374.4 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007172/0.4325, allocations: 0.5343 MB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.4329, allocations: 210 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.4332, allocations: 207 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.4335, allocations: 207 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.4337, allocations: 40 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.4339, allocations: 87.97 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.4341, allocations: 115.5 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.4343, allocations: 202.8 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.435, allocations: 475.3 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.435, allocations: 7.875 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.013e-06/0.435, allocations: 0 / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.435, allocations: 0 / 1.024 GB, free: 3.895 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.001479/0.4365, allocations: 0.7883 MB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4365, allocations: 12.03 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.4367, allocations: 52.28 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/0.4374, allocations: 430.4 kB / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.4374, allocations: 20.94 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4375, allocations: 35.94 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.4382, allocations: 327.9 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4382, allocations: 0 / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.4383, allocations: 12 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4383, allocations: 8 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.4389, allocations: 214.1 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.4407, allocations: 1.104 MB / 1.027 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.4413, allocations: 240.6 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.4416, allocations: 112.8 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.4417, allocations: 11.92 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.4421, allocations: 161.6 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.4422, allocations: 0 / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of matching and sorting (n=23): time 0.0009738/0.4431, allocations: 348.8 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.4432, allocations: 110.8 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.4438, allocations: 449.9 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.4439, allocations: 33.7 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.4442, allocations: 224.5 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.4443, allocations: 71 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4444, allocations: 57.7 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.4446, allocations: 350.8 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.4449, allocations: 83.95 kB / 1.029 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.4452, allocations: 164.1 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.4456, allocations: 221.5 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.4457, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006481/0.4463, allocations: 304.8 kB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4463, allocations: 4 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4464, allocations: 4 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4464, allocations: 4 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.4466, allocations: 47.91 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.4467, allocations: 11.92 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.4469, allocations: 35.67 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.447, allocations: 11.98 kB / 1.03 GB, free: 13.6 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.0002462/0.4472, allocations: 180.1 kB / 1.03 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4473, allocations: 47.45 kB / 1.03 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.4474, allocations: 39.84 kB / 1.03 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4475, allocations: 4 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4475, allocations: 4 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4475, allocations: 0 / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.448, allocations: 417.2 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.448, allocations: 7.875 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.4482, allocations: 39.91 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4482, allocations: 8.031 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.4483, allocations: 11.98 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4483, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4483, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.4493, allocations: 422.8 kB / 1.031 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4494, allocations: 144.5 kB / 1.031 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.4495, allocations: 8 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4497, allocations: 15.98 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.4497, allocations: 19.97 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.4498, allocations: 4 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003958/0.4502, allocations: 323.1 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4502, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003612/0.4506, allocations: 71.84 kB / 1.032 GB, free: 11.77 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.001617/0.4522, allocations: 428.4 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006741/0.4529, allocations: 231.6 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4529, allocations: 7.938 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.4532, allocations: 112.1 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.4538, allocations: 116.8 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4554, allocations: 0.8534 MB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.4559, allocations: 0.811 MB / 1.034 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.456, allocations: 35.42 kB / 1.034 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.4561, allocations: 0 / 1.034 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of Templates: time 0.01089/0.4669, allocations: 5.626 MB / 1.04 GB, free: 3.719 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