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.001675/0.001675, allocations: 115.7 kB / 17.13 MB, free: 6.008 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.001759/0.001759, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.966/2.966, allocations: 0.49 GB / 0.7923 GB, free: 1.273 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.002111/0.002111, allocations: 63.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003885/1.089, allocations: 2.984 MB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002564/1.091, allocations: 1.71 MB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/1.092, allocations: 20.97 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004442/1.092, allocations: 104.2 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004412/1.093, allocations: 183 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000861/1.094, allocations: 395.6 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006107/1.094, allocations: 0.5409 MB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/1.094, allocations: 142 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/1.095, allocations: 227.5 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/1.095, allocations: 205.8 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/1.095, allocations: 41.38 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/1.095, allocations: 105.8 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/1.096, allocations: 108.4 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/1.096, allocations: 212.8 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007359/1.096, allocations: 0.6188 MB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.096, allocations: 1.156 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/1.096, allocations: 3.938 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.096, allocations: 0 / 1.329 GB, free: 20.23 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.001329/1.098, allocations: 0.8197 MB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.098, allocations: 13.14 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/1.098, allocations: 71.08 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/1.099, allocations: 457.3 kB / 1.331 GB, free: 19.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/1.099, allocations: 21.5 kB / 1.331 GB, free: 19.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/1.099, allocations: 33.66 kB / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/1.1, allocations: 328 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.1, allocations: 0 / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/1.1, allocations: 15.06 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/1.1, allocations: 6.875 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/1.1, allocations: 211.3 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.102, allocations: 1.109 MB / 1.332 GB, free: 18.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/1.102, allocations: 228.5 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/1.103, allocations: 104.7 kB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/1.103, allocations: 2.25 kB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/1.103, allocations: 162.9 kB / 1.333 GB, free: 17.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.933e-06/1.103, allocations: 0 / 1.333 GB, free: 17.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0009315/1.104, allocations: 350.5 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.104, allocations: 105.8 kB / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/1.104, allocations: 468.4 kB / 1.334 GB, free: 17.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.104, allocations: 35.58 kB / 1.334 GB, free: 17.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/1.105, allocations: 239 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/1.105, allocations: 74.59 kB / 1.334 GB, free: 17.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.811e-05/1.105, allocations: 53.42 kB / 1.334 GB, free: 17.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/1.105, allocations: 354.4 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/1.105, allocations: 82.86 kB / 1.334 GB, free: 16.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.105, allocations: 163.4 kB / 1.335 GB, free: 16.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/1.106, allocations: 220.5 kB / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.106, allocations: 1.062 kB / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006533/1.107, allocations: 309.1 kB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/1.107, allocations: 5.75 kB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.107, allocations: 2.547 kB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.107, allocations: 1.812 kB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/1.107, allocations: 55.7 kB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.107, allocations: 2.875 kB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/1.107, allocations: 38.03 kB / 1.335 GB, free: 16.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/1.107, allocations: 12.8 kB / 1.335 GB, free: 16.26 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.0001836/1.107, allocations: 179.9 kB / 1.335 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/1.107, allocations: 48.59 kB / 1.335 GB, free: 16.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/1.107, allocations: 48.02 kB / 1.336 GB, free: 16.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/1.107, allocations: 2.688 kB / 1.336 GB, free: 16.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/1.108, allocations: 0.5312 kB / 1.336 GB, free: 16.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.108, allocations: 2 kB / 1.336 GB, free: 16.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/1.108, allocations: 420.6 kB / 1.336 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-06/1.108, allocations: 4.562 kB / 1.336 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/1.108, allocations: 38.47 kB / 1.336 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.108, allocations: 4.656 kB / 1.336 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/1.108, allocations: 7.734 kB / 1.336 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.108, allocations: 1.531 kB / 1.336 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.108, allocations: 0.7969 kB / 1.336 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/1.109, allocations: 421.1 kB / 1.336 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/1.109, allocations: 157.1 kB / 1.337 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/1.11, allocations: 7.641 kB / 1.337 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/1.11, allocations: 10.25 kB / 1.337 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/1.11, allocations: 23.55 kB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/1.11, allocations: 6.641 kB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003943/1.11, allocations: 328.3 kB / 1.337 GB, free: 15.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.11, allocations: 1.312 kB / 1.337 GB, free: 15.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003996/1.111, allocations: 73.56 kB / 1.337 GB, free: 15.21 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * 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.001579/1.112, allocations: 434.3 kB / 1.337 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005744/1.113, allocations: 211.1 kB / 1.338 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.113, allocations: 0 / 1.338 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/1.113, allocations: 103.3 kB / 1.338 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/1.114, allocations: 128.5 kB / 1.338 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/1.115, allocations: 0.741 MB / 1.339 GB, free: 14.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/1.116, allocations: 0.8147 MB / 1.339 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/1.116, allocations: 40.16 kB / 1.339 GB, free: 13.68 MB / 1.061 GB Notification: Performance of SimCode: time 1.313e-06/1.116, allocations: 0 / 1.339 GB, free: 13.68 MB / 1.061 GB Notification: Performance of Templates: time 0.01376/1.13, allocations: 5.77 MB / 1.345 GB, free: 12.98 MB / 1.061 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: 13.573992713005282]