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.001685/0.001685, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.003376/0.003376, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 8 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.253/3.253, allocations: 0.505 GB / 0.8108 GB, free: 21.97 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.002821/0.002821, allocations: 67 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4243, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005279/0.4296, allocations: 2.997 MB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003453/0.4331, allocations: 1.718 MB / 1.359 GB, free: 3.203 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.4335, allocations: 19.81 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.434, allocations: 111.1 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.4346, allocations: 186.8 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.4358, allocations: 407.9 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.4365, allocations: 0.546 MB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.4369, allocations: 141.7 kB / 1.36 GB, free: 1.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.4372, allocations: 219.1 kB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.4375, allocations: 206.9 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.4376, allocations: 44 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.4379, allocations: 119.9 kB / 1.361 GB, free: 1.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.438, allocations: 107.6 kB / 1.361 GB, free: 1.125 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.4383, allocations: 210.7 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.4392, allocations: 0.6108 MB / 1.362 GB, free: 312 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4392, allocations: 0 / 1.362 GB, free: 312 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4392, allocations: 3.938 kB / 1.362 GB, free: 308 kB / 1.045 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4392, allocations: 0 / 1.362 GB, free: 308 kB / 1.045 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.00142/0.4406, allocations: 0.7514 MB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4406, allocations: 12.03 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.4409, allocations: 68.59 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.4417, allocations: 399.6 kB / 1.363 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.4418, allocations: 21.03 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.4418, allocations: 27.94 kB / 1.363 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.4425, allocations: 333 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4425, allocations: 8 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.4425, allocations: 8 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4425, allocations: 8 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.4431, allocations: 209.8 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.4446, allocations: 1.066 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.4452, allocations: 226.9 kB / 1.365 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.4455, allocations: 104.8 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.4455, allocations: 7.938 kB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/0.4459, allocations: 155.2 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.4459, allocations: 4 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0008722/0.4467, allocations: 358.9 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4468, allocations: 102.8 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.4474, allocations: 461.9 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.4475, allocations: 29.7 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.4477, allocations: 244.7 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.4477, allocations: 75.38 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.4479, allocations: 53.69 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4481, allocations: 354.8 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.4483, allocations: 79.95 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.4486, allocations: 171.5 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.449, allocations: 215.3 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.449, allocations: 4 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006198/0.4497, allocations: 308.2 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4497, allocations: 4.156 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4497, allocations: 8 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4497, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.4499, allocations: 51.91 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.45, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.4501, allocations: 31.77 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.4502, allocations: 12 kB / 1.367 GB, free: 10.12 MB / 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.0002269/0.4504, allocations: 185.6 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.4505, allocations: 51.66 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006622/0.4511, allocations: 289.3 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4511, allocations: 4 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4511, allocations: 48 / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4511, allocations: 7.969 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.4516, allocations: 388.4 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/0.4516, allocations: 7.875 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.4518, allocations: 39.97 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4518, allocations: 0 / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.4519, allocations: 4 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4519, allocations: 8 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4519, allocations: 0 / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/0.4528, allocations: 427.5 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.4529, allocations: 75.53 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.453, allocations: 8 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.4531, allocations: 11.98 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.4532, allocations: 23.95 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4532, allocations: 8 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004138/0.4537, allocations: 327.1 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4537, allocations: 0 / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003738/0.454, allocations: 75.95 kB / 1.369 GB, free: 8.152 MB / 1.061 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 (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.001676/0.4557, allocations: 424.6 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006244/0.4563, allocations: 207.7 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4563, allocations: 7.875 kB / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.4566, allocations: 108.1 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.4572, allocations: 115.3 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.4588, allocations: 0.7344 MB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4593, allocations: 0.8188 MB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4594, allocations: 35.42 kB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of SimCode: time 2.124e-06/0.4594, allocations: 0 / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of Templates: time 0.01216/0.4716, allocations: 5.773 MB / 1.377 GB, free: 72 kB / 1.061 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.665554039005656]