Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.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.001459/0.001459, allocations: 85.11 kB / 10.01 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002241/0.0037, allocations: 444 kB / 10.45 MB, free: 240 kB / 10.45 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.001466/0.001466, allocations: 161.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002102/0.003569, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.66/1.66, allocations: 177.2 MB / 189.8 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1264/1.787, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 3.862/3.862, allocations: 447.6 MB / 0.6755 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3786/4.241, allocations: 146.2 MB / 0.8183 GB, free: 3.141 MB / 0.7917 GB " [Timeout remaining time 176] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Templates.Components.Validation.CoolersCoolingTower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|coo.bus.y1|coo.bus.y|TConWatRet.T|TConWatSup.T|dat.TConWatRet_nominal|dat.TConWatSup_nominal|coo.m_flow|dat.mConWat_flow_nominal|coo.dp|dat.dpConWatFri_nominal|coo.tow.PFan|dat.PFan_nominal",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower") translateModel(Buildings.Templates.Components.Validation.CoolersCoolingTower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|coo.bus.y1|coo.bus.y|TConWatRet.T|TConWatSup.T|dat.TConWatRet_nominal|dat.TConWatSup_nominal|coo.m_flow|dat.mConWat_flow_nominal|coo.dp|dat.dpConWatFri_nominal|coo.tow.PFan|dat.PFan_nominal",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.545e-05, allocations: 2.312 kB / 0.8196 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.CoolersCoolingTower): time 0.2389/0.2389, allocations: 157.7 MB / 0.9736 GB, free: 3.508 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.03013/0.269, allocations: 13.74 MB / 0.987 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.2717, allocations: 63.5 kB / 0.987 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.004061/0.2758, allocations: 0.9706 MB / 0.988 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.007486/0.2833, allocations: 1.935 MB / 0.9899 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.007391/0.2907, allocations: 2.167 MB / 0.992 GB, free: 0.5664 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/Templates/Components/Data/Cooler.mo:34:3-39:76:writable] Warning: Parameter dat.TAirEnt_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=Buildings.Templates.Data.Defaults.TOutDryCoo) as default value. Notification: Performance of NFFlatten.flatten: time 0.008364/0.299, allocations: 4.596 MB / 0.9965 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004186/0.3032, allocations: 1.447 MB / 0.9979 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006817/0.31, allocations: 2.384 MB / 1 GB, free: 8.105 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/0.3129, allocations: 0.9972 MB / 1.001 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0008191/0.3137, allocations: 180 kB / 1.001 GB, free: 6.93 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006991/0.3207, allocations: 2.331 MB / 1.004 GB, free: 4.594 MB / 0.9792 GB Notification: Performance of combineBinaries: time 0.005104/0.3258, allocations: 2.676 MB / 1.006 GB, free: 1.902 MB / 0.9792 GB Notification: Performance of replaceArrayConstructors: time 0.00262/0.3284, allocations: 1.636 MB / 1.008 GB, free: 260 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3296, allocations: 144 kB / 1.008 GB, free: 116 kB / 0.9792 GB Notification: Performance of FrontEnd: time 0.0006047/0.3302, allocations: 79.56 kB / 1.008 GB, free: 36 kB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 (226) * Number of variables: 230 (223) Notification: Performance of [SIM] Bindings: time 0.02128/0.3514, allocations: 11.55 MB / 1.019 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of [SIM] Data Reconciliation: time 1.017e-05/0.3514, allocations: 0 / 1.019 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of [SIM] FunctionAlias: time 0.003463/0.3549, allocations: 1.418 MB / 1.021 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of [SIM] Early Inline: time 0.0127/0.3676, allocations: 6.373 MB / 1.027 GB, free: 12.28 MB / 1.01 GB Notification: Performance of [SIM] Simplify: time 0.001469/0.3691, allocations: 0.5832 MB / 1.028 GB, free: 11.62 MB / 1.01 GB Notification: Performance of [SIM] Alias: time 0.6193/0.9884, allocations: 10.9 MB / 1.038 GB, free: 38.95 MB / 1.01 GB Notification: Performance of [SIM] Remove Stream: time 0.0008592/0.9893, allocations: 387.3 kB / 1.039 GB, free: 38.88 MB / 1.01 GB Notification: Performance of [SIM] Algorithm Locals: time 0.001097/0.9904, allocations: 0.7244 MB / 1.039 GB, free: 38.82 MB / 1.01 GB Notification: Performance of [SIM] Detect States: time 0.001872/0.9922, allocations: 1.028 MB / 1.04 GB, free: 38.64 MB / 1.01 GB Notification: Performance of [SIM] Events: time 0.0007082/0.993, allocations: 436.1 kB / 1.041 GB, free: 38.61 MB / 1.01 GB Notification: Performance of [SIM] Partitioning: time 0.002542/0.9955, allocations: 1.337 MB / 1.042 GB, free: 38.32 MB / 1.01 GB Notification: Performance of [SIM] Causalize: time 0.003097/0.9986, allocations: 1.816 MB / 1.044 GB, free: 38 MB / 1.01 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003411/1.002, allocations: 2.935 MB / 1.047 GB, free: 37.98 MB / 1.01 GB Notification: Performance of [INI] Simplify: time 0.006973/1.009, allocations: 3.574 MB / 1.05 GB, free: 37.01 MB / 1.01 GB Notification: Performance of [INI] Inline: time 0.008228/1.017, allocations: 5.893 MB / 1.056 GB, free: 36.92 MB / 1.01 GB Notification: Performance of [INI] Partitioning: time 0.0003903/1.018, allocations: 114.8 kB / 1.056 GB, free: 36.82 MB / 1.01 GB Notification: Performance of [INI] Cleanup: time 0.002002/1.02, allocations: 1.416 MB / 1.057 GB, free: 36.75 MB / 1.01 GB Notification: Performance of [INI] Causalize: time 0.02044/1.04, allocations: 13.09 MB / 1.07 GB, free: 33.27 MB / 1.01 GB Notification: Performance of [INI] Tearing: time 0.002163/1.042, allocations: 1.726 MB / 1.072 GB, free: 32.85 MB / 1.01 GB Notification: Performance of [SIM] Initialization: time 2.285e-06/1.042, allocations: 0 / 1.072 GB, free: 32.85 MB / 1.01 GB Notification: Performance of [SIM] Remove Dummies: time 2.924e-05/1.042, allocations: 3.969 kB / 1.072 GB, free: 32.85 MB / 1.01 GB Notification: Performance of [SIM] Tearing: time 0.0007576/1.043, allocations: 0.6137 MB / 1.072 GB, free: 32.71 MB / 1.01 GB Notification: Performance of [SIM] Categorize: time 0.001429/1.044, allocations: 0.6132 MB / 1.073 GB, free: 32.61 MB / 1.01 GB Notification: Performance of [SIM] Solve: time 0.00423/1.049, allocations: 2.4 MB / 1.075 GB, free: 32.49 MB / 1.01 GB Notification: Performance of [SIM] Jacobian: time 0.00615/1.055, allocations: 3.843 MB / 1.079 GB, free: 31.14 MB / 1.01 GB Notification: Performance of [SIM] Minimize Homotopy System: time 8.676e-06/1.055, allocations: 1.203 kB / 1.079 GB, free: 31.14 MB / 1.01 GB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 9.82e-07/1.055, allocations: 0 / 1.079 GB, free: 31.14 MB / 1.01 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {TConWatSup.T, coo.tow.vol.U, TConWatRet.T} * Number of discrete states: .................... 4 (4) {coo.y1_actual.onToOff.t_start, coo.y1_actual.offToOn.t_start, y1.intTimTab.y, y1.intTimTab.idx} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 33 (33) {bus.y1_actual, y1.y, y.u, coo.y1_actual.stateGraphRoot.activeSteps, coo.y1_actual.off.localActive, coo.y1_actual.off.inPort.occupied, coo.y1_actual.off.inPort.set, coo.y1_actual.off.outPort.available, coo.y1_actual.off.outPort.reset, coo.y1_actual.off.newActive, coo.y1_actual.off.active, coo.y1_actual.offToOn.enableFire, coo.y1_actual.offToOn.fire, coo.y1_actual.offToOn.inPort.available, coo.y1_actual.offToOn.outPort.occupied, coo.y1_actual.on.localActive, coo.y1_actual.on.inPort.occupied, coo.y1_actual.on.inPort.set, coo.y1_actual.on.outPort.available, coo.y1_actual.on.outPort.reset, coo.y1_actual.on.newActive, coo.y1_actual.onToOff.enableFire, coo.y1_actual.onToOff.fire, coo.y1_actual.onToOff.inPort.available, coo.y1_actual.onToOff.outPort.occupied, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of algorithm local variables: .......... 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 119 (scalar:119, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 233 (scalar:228, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 235 (scalar:230, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001589/1.055, allocations: 136.3 kB / 1.079 GB, free: 31.02 MB / 1.01 GB Notification: Performance of SimCode: time 0.01988/1.075, allocations: 9.181 MB / 1.088 GB, free: 29.39 MB / 1.01 GB Notification: Performance of Templates: time 0.05389/1.129, allocations: 31.56 MB / 1.119 GB, free: 25.24 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower/Buildings_latest_Buildings.Templates.Components.Validation.CoolersCoolingTower.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.65499579301104]