Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001396/0.001396, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001627/0.001627, allocations: 214.8 kB / 23.04 MB, free: 4.863 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.589/1.589, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.272/3.272, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002047/0.002047, allocations: 61.84 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4439, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005236/0.4491, allocations: 2.772 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003307/0.4524, allocations: 1.637 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.4527, allocations: 15.88 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.4532, allocations: 99.16 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.4537, allocations: 194.9 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.4547, allocations: 398.5 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.4554, allocations: 0.5577 MB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.4557, allocations: 137.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.456, allocations: 215.1 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.4563, allocations: 190.9 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.4564, allocations: 44 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.4566, allocations: 107.9 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.4568, allocations: 111.5 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.457, allocations: 159.1 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008488/0.4578, allocations: 0.6186 MB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4578, allocations: 4 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4578, allocations: 3.938 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.4578, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 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.001393/0.4592, allocations: 0.7414 MB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4593, allocations: 12.03 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.4596, allocations: 72.55 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/0.4604, allocations: 399.6 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.4604, allocations: 25.03 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.4605, allocations: 31.92 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.4611, allocations: 379.5 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4611, allocations: 0 / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.4612, allocations: 15.94 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4612, allocations: 4 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.4617, allocations: 213.8 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.4632, allocations: 0.9336 MB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.4638, allocations: 226.9 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.4641, allocations: 104.8 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.4641, allocations: 7.938 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.4645, allocations: 157.3 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.4645, allocations: 8 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009209/0.4654, allocations: 350.7 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.4655, allocations: 81.11 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.466, allocations: 449.8 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.4661, allocations: 25.7 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.4663, allocations: 240.6 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.4664, allocations: 79.31 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4665, allocations: 61.69 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4666, allocations: 346.8 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.4669, allocations: 83.95 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.4672, allocations: 206.2 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.4677, allocations: 226.5 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4677, allocations: 0 / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006416/0.4683, allocations: 299.7 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4684, allocations: 15.88 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4684, allocations: 4.156 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4684, allocations: 4 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.4686, allocations: 51.95 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4686, allocations: 3.938 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.4688, allocations: 31.88 kB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.4688, allocations: 12 kB / 1.34 GB, free: 3.621 MB / 1.029 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.0002339/0.4691, allocations: 178.3 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.4692, allocations: 47.66 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.4699, allocations: 293.2 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4699, allocations: 4 kB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4699, allocations: 0 / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4699, allocations: 0 / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.4703, allocations: 305 kB / 1.341 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4703, allocations: 3.938 kB / 1.341 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.4705, allocations: 39.91 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4705, allocations: 11.94 kB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4705, allocations: 7.938 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4705, allocations: 0 / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4705, allocations: 4 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.4715, allocations: 433.1 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.4716, allocations: 63.66 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.4716, allocations: 11.94 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4718, allocations: 20.05 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.4719, allocations: 15.97 kB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.4719, allocations: 11.98 kB / 1.341 GB, free: 2.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003819/0.4723, allocations: 315.1 kB / 1.342 GB, free: 1.832 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4723, allocations: 0 / 1.342 GB, free: 1.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000359/0.4726, allocations: 83.78 kB / 1.342 GB, free: 1.75 MB / 1.029 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.001771/0.4744, allocations: 452.7 kB / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.475, allocations: 217.9 kB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.475, allocations: 7.938 kB / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.4753, allocations: 103.9 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.4759, allocations: 111.8 kB / 1.343 GB, free: 1.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.4774, allocations: 0.7382 MB / 1.343 GB, free: 296 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4777, allocations: 219.3 kB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4778, allocations: 31.44 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4778, allocations: 0 / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of Templates: time 0.01012/0.4879, allocations: 5.873 MB / 1.349 GB, free: 10.19 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.225577609147877]