Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 216.1 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.343/3.343, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 68.92 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4221, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005386/0.4275, allocations: 2.778 MB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003676/0.4311, allocations: 1.629 MB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005465/0.4317, allocations: 19.88 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.4323, allocations: 107.2 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007864/0.4331, allocations: 182.9 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4343, allocations: 404.1 kB / 1.37 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008949/0.4352, allocations: 0.5499 MB / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.4355, allocations: 133.7 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.436, allocations: 219 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.4364, allocations: 190.9 kB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.391e-05/0.4365, allocations: 44 kB / 1.371 GB, free: 7.297 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.4368, allocations: 107.9 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.4369, allocations: 111.6 kB / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.4371, allocations: 159 kB / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009581/0.4381, allocations: 0.6263 MB / 1.372 GB, free: 6.297 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4381, allocations: 0 / 1.372 GB, free: 6.297 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4381, allocations: 0 / 1.372 GB, free: 6.297 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.4381, allocations: 0 / 1.372 GB, free: 6.297 MB / 1.061 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.001522/0.4396, allocations: 0.7475 MB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4397, allocations: 8.031 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.4399, allocations: 72.59 kB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.4407, allocations: 395.6 kB / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.4407, allocations: 21.03 kB / 1.373 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.4408, allocations: 31.94 kB / 1.373 GB, free: 4.973 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.4414, allocations: 375.6 kB / 1.373 GB, free: 4.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4415, allocations: 0 / 1.373 GB, free: 4.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.4415, allocations: 12 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4415, allocations: 7.938 kB / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.442, allocations: 217.8 kB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.4434, allocations: 0.9414 MB / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.4441, allocations: 229.2 kB / 1.375 GB, free: 3.121 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.4444, allocations: 108.8 kB / 1.375 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.4444, allocations: 0 / 1.375 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.4448, allocations: 163.2 kB / 1.375 GB, free: 2.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.4448, allocations: 0 / 1.375 GB, free: 2.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0009714/0.4458, allocations: 355.2 kB / 1.375 GB, free: 2.488 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/0.4459, allocations: 81.11 kB / 1.375 GB, free: 2.391 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.4465, allocations: 449.8 kB / 1.376 GB, free: 1.941 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.4466, allocations: 29.7 kB / 1.376 GB, free: 1.906 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.4468, allocations: 240.6 kB / 1.376 GB, free: 1.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.4469, allocations: 83.31 kB / 1.376 GB, free: 1.582 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.447, allocations: 57.64 kB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4473, allocations: 346.8 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.4475, allocations: 87.95 kB / 1.377 GB, free: 1.086 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.4478, allocations: 214.7 kB / 1.377 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.4483, allocations: 219.3 kB / 1.377 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4483, allocations: 0 / 1.377 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006887/0.449, allocations: 302.7 kB / 1.377 GB, free: 316 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.449, allocations: 12.09 kB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4491, allocations: 0 / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4491, allocations: 4 kB / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.4493, allocations: 59.89 kB / 1.377 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4493, allocations: 0 / 1.377 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4495, allocations: 27.88 kB / 1.377 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.4496, allocations: 8 kB / 1.377 GB, free: 204 kB / 1.061 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.000258/0.4498, allocations: 174.9 kB / 1.378 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-05/0.4499, allocations: 47.7 kB / 1.378 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007158/0.4506, allocations: 299.3 kB / 1.378 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4506, allocations: 4 kB / 1.378 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4507, allocations: 0 / 1.378 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4507, allocations: 3.984 kB / 1.378 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.4511, allocations: 305 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4511, allocations: 4 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.4513, allocations: 43.91 kB / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4513, allocations: 0 / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.4514, allocations: 7.938 kB / 1.378 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.4514, allocations: 7.938 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4514, allocations: 4 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/0.4524, allocations: 436.5 kB / 1.379 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4525, allocations: 63.66 kB / 1.379 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.4526, allocations: 12 kB / 1.379 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.4528, allocations: 15.98 kB / 1.379 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4529, allocations: 19.97 kB / 1.379 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.4529, allocations: 7.984 kB / 1.379 GB, free: 14.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004689/0.4534, allocations: 311.1 kB / 1.379 GB, free: 14.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4534, allocations: 4 kB / 1.379 GB, free: 14.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004261/0.4538, allocations: 75.83 kB / 1.379 GB, free: 14.33 MB / 1.076 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.001974/0.4558, allocations: 459.7 kB / 1.38 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006387/0.4564, allocations: 222.3 kB / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4564, allocations: 0 / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.4567, allocations: 103.9 kB / 1.38 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.4573, allocations: 112.2 kB / 1.38 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.4588, allocations: 0.7399 MB / 1.381 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.4591, allocations: 215.4 kB / 1.381 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.4592, allocations: 35.44 kB / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/0.4592, allocations: 0 / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of Templates: time 0.0109/0.4701, allocations: 5.868 MB / 1.387 GB, free: 6.766 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.064172466751188]