Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001873/0.001873, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002148/0.002148, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.118/3.118, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002135/0.002135, allocations: 68.12 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.472, allocations: 169.9 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005723/0.4777, allocations: 2.786 MB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.4813, allocations: 1.625 MB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.4816, allocations: 15.88 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.4821, allocations: 115.1 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.4827, allocations: 182.9 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.4838, allocations: 397.4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007377/0.4846, allocations: 0.5461 MB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.4849, allocations: 141.7 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.4853, allocations: 219 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.4856, allocations: 195 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.4856, allocations: 40 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.4859, allocations: 111.9 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.486, allocations: 111.6 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.4862, allocations: 163 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008748/0.4871, allocations: 0.6147 MB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4871, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4871, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.4871, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 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.001631/0.4887, allocations: 0.7514 MB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4888, allocations: 12.03 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.4891, allocations: 72.55 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.49, allocations: 395.6 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.49, allocations: 21.03 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.529e-05/0.4901, allocations: 31.94 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.4907, allocations: 371.6 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4908, allocations: 0 / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.4908, allocations: 12 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4908, allocations: 11.94 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.4913, allocations: 209.9 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.4929, allocations: 0.9375 MB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.4935, allocations: 222.9 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.4938, allocations: 108.8 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.4938, allocations: 8 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.4942, allocations: 157.7 kB / 1.293 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.744e-06/0.4942, allocations: 0 / 1.293 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009111/0.4951, allocations: 353.1 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4952, allocations: 88.95 kB / 1.294 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.4958, allocations: 445.8 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.4959, allocations: 37.7 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.4961, allocations: 240.6 kB / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.4962, allocations: 79.45 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.4964, allocations: 61.62 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002679/0.4966, allocations: 354.8 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.4969, allocations: 87.94 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.4972, allocations: 203.5 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.4977, allocations: 223.7 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4977, allocations: 0 / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006312/0.4984, allocations: 297.7 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4984, allocations: 7.75 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4984, allocations: 4 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4984, allocations: 3.984 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.4987, allocations: 55.91 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.4987, allocations: 4 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.4988, allocations: 23.88 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4989, allocations: 8 kB / 1.296 GB, free: 14.57 MB / 0.9981 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.0002308/0.4991, allocations: 181.9 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.4992, allocations: 43.66 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.5, allocations: 303.6 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5, allocations: 0 / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5, allocations: 0 / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5, allocations: 3.984 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.5004, allocations: 309 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5004, allocations: 0 / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.5006, allocations: 43.91 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.5007, allocations: 3.938 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5007, allocations: 4 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5007, allocations: 0 / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5007, allocations: 7.922 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.5017, allocations: 435.4 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.5019, allocations: 67.66 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.5019, allocations: 7.938 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.5021, allocations: 11.98 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.5022, allocations: 19.97 kB / 1.297 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.5022, allocations: 11.98 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003858/0.5026, allocations: 311.1 kB / 1.297 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.5026, allocations: 0 / 1.297 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003581/0.5029, allocations: 79.78 kB / 1.298 GB, free: 12.71 MB / 0.9981 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.001784/0.5047, allocations: 463 kB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007537/0.5055, allocations: 223.6 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5055, allocations: 0 / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.5057, allocations: 107.9 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.5063, allocations: 110 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5079, allocations: 0.7032 MB / 1.299 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.5082, allocations: 215.4 kB / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.5084, allocations: 63.19 kB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5085, allocations: 31.42 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.5085, allocations: 0 / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.01238/0.5209, allocations: 5.275 MB / 1.304 GB, free: 5.816 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.15653957799077]