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.001363/0.001363, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001615/0.001615, allocations: 219.9 kB / 22.99 MB, free: 4.914 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.308/3.308, allocations: 0.4893 GB / 0.7951 GB, free: 35.54 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.002961/0.002961, allocations: 64.27 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4624, allocations: 176.1 MB / 1.326 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.006069/0.4685, allocations: 2.769 MB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.4721, allocations: 1.637 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.4725, allocations: 15.88 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.473, allocations: 107.1 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.4736, allocations: 190.9 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4747, allocations: 397.7 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.4754, allocations: 0.5577 MB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.4757, allocations: 133.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.4761, allocations: 223.1 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.4764, allocations: 182.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.4764, allocations: 44 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.4767, allocations: 111.9 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.4769, allocations: 111.5 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.4771, allocations: 159.1 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.4781, allocations: 0.6147 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4781, allocations: 7.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.547e-06/0.4781, allocations: 3.984 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.4782, allocations: 0 / 1.333 GB, free: 10.49 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.001462/0.4796, allocations: 0.7446 MB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4797, allocations: 8.031 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.48, allocations: 76.58 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.4809, allocations: 395.6 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.4809, allocations: 21.03 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.481, allocations: 31.94 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.4817, allocations: 379.5 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4817, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.4817, allocations: 12 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.4818, allocations: 4 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.4823, allocations: 217.8 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.4838, allocations: 0.9297 MB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.4845, allocations: 227.8 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.4847, allocations: 108.8 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.4848, allocations: 3.984 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.4852, allocations: 162.1 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.784e-06/0.4852, allocations: 0 / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001038/0.4862, allocations: 361 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.4863, allocations: 85.05 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.4869, allocations: 445.8 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4869, allocations: 29.7 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.4871, allocations: 232.6 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.4872, allocations: 87.3 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.4873, allocations: 53.69 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.4875, allocations: 350.8 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.4878, allocations: 87.95 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.4881, allocations: 202.2 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.4886, allocations: 230.9 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4886, allocations: 0 / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007626/0.4894, allocations: 302.7 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4894, allocations: 7.938 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4894, allocations: 0 / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.4894, allocations: 4.156 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.4897, allocations: 59.91 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.4897, allocations: 0 / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.4899, allocations: 31.83 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.4899, allocations: 12 kB / 1.339 GB, free: 4.391 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.0002294/0.4901, allocations: 174.3 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.4902, allocations: 43.7 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/0.4909, allocations: 298.9 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4909, allocations: 4 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4909, allocations: 0 / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4909, allocations: 0 / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.4914, allocations: 305 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4914, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.4916, allocations: 39.92 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4916, allocations: 4 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.4916, allocations: 11.92 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4916, allocations: 8 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4916, allocations: 0 / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009997/0.4926, allocations: 437.3 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.4928, allocations: 67.66 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.4928, allocations: 7.938 kB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.493, allocations: 11.98 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.4931, allocations: 24.02 kB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.4931, allocations: 12 kB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004213/0.4935, allocations: 307.1 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4935, allocations: 0 / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003751/0.4939, allocations: 91.77 kB / 1.341 GB, free: 2.531 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.001825/0.4957, allocations: 456.5 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006307/0.4963, allocations: 221.2 kB / 1.341 GB, free: 2.051 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4963, allocations: 4 kB / 1.341 GB, free: 2.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.4966, allocations: 103.9 kB / 1.342 GB, free: 1.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.4972, allocations: 115.7 kB / 1.342 GB, free: 1.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.4989, allocations: 0.7478 MB / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4992, allocations: 207.4 kB / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.4993, allocations: 43.42 kB / 1.343 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.4993, allocations: 0 / 1.343 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of Templates: time 0.01164/0.5109, allocations: 5.867 MB / 1.348 GB, free: 10.96 MB / 1.045 GB " [Timeout remaining time 299] 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: 12.779433190822601]