Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.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.001726/0.001726, allocations: 104.3 kB / 19.76 MB, free: 2.051 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.001855/0.001855, allocations: 217.4 kB / 23.06 MB, free: 4.848 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.154/3.154, allocations: 0.5096 GB / 0.8155 GB, free: 18.39 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.Templates.Plants.Controls.Utilities.Validation.TimerWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.009e-05, allocations: 6.219 kB / 1.185 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001776/0.001796, allocations: 0.9321 MB / 1.186 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.003605, allocations: 1.666 MB / 1.188 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.003686, allocations: 1.406 kB / 1.188 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.003733, allocations: 19.95 kB / 1.188 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.738e-05/0.00383, allocations: 40.36 kB / 1.188 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.004556, allocations: 328 kB / 1.188 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.005022, allocations: 462.3 kB / 1.188 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.00516, allocations: 42.36 kB / 1.188 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.005364, allocations: 186.2 kB / 1.189 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.005552, allocations: 153.1 kB / 1.189 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.005622, allocations: 41.47 kB / 1.189 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.005735, allocations: 58.69 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003418/0.006077, allocations: 0.5228 MB / 1.189 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 8.521e-05/0.006162, allocations: 223.5 kB / 1.19 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.006229, allocations: 31.94 kB / 1.19 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.276e-05/0.006252, allocations: 12.78 kB / 1.19 GB, free: 11.65 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 (40) * Number of variables: 40 (40) Notification: Performance of [SIM] Bindings: time 0.001275/0.007526, allocations: 1.471 MB / 1.191 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.000172/0.007698, allocations: 161.9 kB / 1.191 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001522/0.009221, allocations: 1.65 MB / 1.193 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004473/0.009668, allocations: 374.4 kB / 1.193 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001365/0.01103, allocations: 1.19 MB / 1.194 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003975/0.01143, allocations: 356.7 kB / 1.195 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002749/0.01171, allocations: 309.5 kB / 1.195 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0006268/0.01233, allocations: 0.6294 MB / 1.196 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.000288/0.01262, allocations: 213 kB / 1.196 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004433/0.01306, allocations: 441.2 kB / 1.196 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0009101/0.01397, allocations: 0.728 MB / 1.197 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001041/0.01501, allocations: 1.249 MB / 1.198 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0008623/0.01588, allocations: 0.6906 MB / 1.199 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001372/0.01725, allocations: 1.642 MB / 1.2 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 5.049e-05/0.0173, allocations: 36.2 kB / 1.2 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002467/0.01755, allocations: 268.3 kB / 1.201 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001353/0.0189, allocations: 1.034 MB / 1.202 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.24e-05/0.01892, allocations: 37.91 kB / 1.202 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.02e-07/0.01892, allocations: 0 / 1.202 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.997e-06/0.01893, allocations: 5.094 kB / 1.202 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 9.317e-06/0.01894, allocations: 21.66 kB / 1.202 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.919e-06/0.01895, allocations: 2.094 kB / 1.202 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0004634/0.01941, allocations: 356.4 kB / 1.202 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.518e-06/0.01942, allocations: 4 kB / 1.202 GB, free: 5.477 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 17 (17) {res.entryTimeFalse, res.entryTimeTrue, res.y, thrTim1Res.passed, thrTim1Res.entryTime, thrTimRes.passed, thrTimRes.entryTime, noThrRes.passed, noThrRes.entryTime, thrTim1.u, noThr.u, thrTim1.passed, thrTim1.entryTime, thrTim.passed, thrTim.entryTime, noThr.passed, noThr.entryTime} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (21) {res.u, res.not_u, res.not_y, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_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: ........... 27 (scalar:27, array:0, record:0) * Number of multi strong components: ............ 17 (algorithm:0, when:17, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 65 (scalar:65, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001008/0.01952, allocations: 64.11 kB / 1.202 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001169/0.02069, allocations: 0.8781 MB / 1.203 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of Templates: time 0.007839/0.02853, allocations: 4.6 MB / 1.208 GB, free: 2.812 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_TimerWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.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: 8.46854898892343]