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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 101.7 kB / 19.6 MB, free: 2.324 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 189.2 kB / 22.86 MB, free: 5.652 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 225.6 MB / 251.6 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.754/2.754, allocations: 495.5 MB / 0.7835 GB, free: 33.53 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.043e-05/2.043e-05, allocations: 2.281 kB / 1.138 GB, free: 33.91 MB / 0.9044 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001662/0.001682, allocations: 0.9856 MB / 1.139 GB, free: 33.29 MB / 0.9044 GB
Notification: Performance of NFInst.instExpressions: time 0.001576/0.003258, allocations: 1.656 MB / 1.14 GB, free: 32.09 MB / 0.9044 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.003331, allocations: 7.281 kB / 1.14 GB, free: 32.09 MB / 0.9044 GB
Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.003368, allocations: 14.58 kB / 1.14 GB, free: 32.07 MB / 0.9044 GB
Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.00346, allocations: 44.11 kB / 1.14 GB, free: 32.04 MB / 0.9044 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.004093, allocations: 331.5 kB / 1.141 GB, free: 31.88 MB / 0.9044 GB
Notification: Performance of NFFlatten.flatten: time 0.0003015/0.004394, allocations: 470.7 kB / 1.141 GB, free: 31.68 MB / 0.9044 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004507, allocations: 50.81 kB / 1.141 GB, free: 31.65 MB / 0.9044 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.004657, allocations: 180.7 kB / 1.141 GB, free: 31.57 MB / 0.9044 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.004806, allocations: 181.9 kB / 1.141 GB, free: 31.49 MB / 0.9044 GB
Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.004861, allocations: 43.41 kB / 1.141 GB, free: 31.49 MB / 0.9044 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.004939, allocations: 52.94 kB / 1.141 GB, free: 31.49 MB / 0.9044 GB
Notification: Performance of combineBinaries: time 0.0002499/0.005189, allocations: 0.5296 MB / 1.142 GB, free: 31.15 MB / 0.9044 GB
Notification: Performance of replaceArrayConstructors: time 6.551e-05/0.005255, allocations: 234 kB / 1.142 GB, free: 30.99 MB / 0.9044 GB
Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.005312, allocations: 43.03 kB / 1.142 GB, free: 30.98 MB / 0.9044 GB
Notification: Performance of FrontEnd: time 2.036e-05/0.005332, allocations: 9.125 kB / 1.142 GB, free: 30.97 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 Bindings: time 0.00101/0.006343, allocations: 1.452 MB / 1.144 GB, free: 30.02 MB / 0.9044 GB
Notification: Performance of FunctionAlias: time 0.0001231/0.006466, allocations: 152.5 kB / 1.144 GB, free: 29.93 MB / 0.9044 GB
Notification: Performance of Early Inline: time 0.001046/0.007512, allocations: 1.62 MB / 1.145 GB, free: 29.13 MB / 0.9044 GB
Notification: Performance of Simplify 1: time 0.0003445/0.007856, allocations: 367.3 kB / 1.146 GB, free: 28.94 MB / 0.9044 GB
Notification: Performance of Alias: time 0.001172/0.009028, allocations: 1.249 MB / 1.147 GB, free: 28.21 MB / 0.9044 GB
Notification: Performance of Simplify 2: time 0.0002827/0.009311, allocations: 357.8 kB / 1.147 GB, free: 28.02 MB / 0.9044 GB
Notification: Performance of Remove Stream: time 0.0002085/0.00952, allocations: 292.3 kB / 1.148 GB, free: 27.86 MB / 0.9044 GB
Notification: Performance of Detect States: time 0.0005186/0.01004, allocations: 0.6461 MB / 1.148 GB, free: 27.46 MB / 0.9044 GB
Notification: Performance of Events: time 0.000252/0.01029, allocations: 198.6 kB / 1.148 GB, free: 27.36 MB / 0.9044 GB
Notification: Performance of Partitioning: time 0.0003125/0.0106, allocations: 355.4 kB / 1.149 GB, free: 27.2 MB / 0.9044 GB
Notification: Performance of Causalize: time 0.001083/0.01169, allocations: 0.9085 MB / 1.15 GB, free: 26.91 MB / 0.9044 GB
Notification: Performance of After Index Reduction Inline: time 0.001023/0.01271, allocations: 1.245 MB / 1.151 GB, free: 26.33 MB / 0.9044 GB
Notification: Performance of Simplify: time 0.0007534/0.01346, allocations: 0.6303 MB / 1.151 GB, free: 25.93 MB / 0.9044 GB
Notification: Performance of Inline: time 0.001438/0.0149, allocations: 1.638 MB / 1.153 GB, free: 25.13 MB / 0.9044 GB
Notification: Performance of Partitioning: time 4.977e-05/0.01495, allocations: 38.81 kB / 1.153 GB, free: 25.1 MB / 0.9044 GB
Notification: Performance of Cleanup: time 0.0002369/0.01519, allocations: 281.7 kB / 1.153 GB, free: 24.96 MB / 0.9044 GB
Notification: Performance of Causalize: time 0.00152/0.01671, allocations: 1.245 MB / 1.155 GB, free: 24.59 MB / 0.9044 GB
Notification: Performance of Tearing: time 1.946e-05/0.01673, allocations: 21.91 kB / 1.155 GB, free: 24.57 MB / 0.9044 GB
Notification: Performance of Initialization: time 3.01e-07/0.01673, allocations: 0 / 1.155 GB, free: 24.57 MB / 0.9044 GB
Notification: Performance of Remove Dummies: time 7.674e-06/0.01673, allocations: 0 / 1.155 GB, free: 24.57 MB / 0.9044 GB
Notification: Performance of Tearing: time 4.719e-06/0.01674, allocations: 11.94 kB / 1.155 GB, free: 24.56 MB / 0.9044 GB
Notification: Performance of Categorize: time 9.227e-06/0.01675, allocations: 2.797 kB / 1.155 GB, free: 24.56 MB / 0.9044 GB
Notification: Performance of Solve: time 0.0004238/0.01717, allocations: 347.9 kB / 1.155 GB, free: 24.43 MB / 0.9044 GB
Notification: Performance of Jacobian: time 5.16e-06/0.01718, allocations: 0 / 1.155 GB, free: 24.43 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.0001203/0.0173, allocations: 53.75 kB / 1.155 GB, free: 24.39 MB / 0.9044 GB
Notification: Performance of SimCode: time 0.001205/0.0185, allocations: 1.424 MB / 1.156 GB, free: 23.39 MB / 0.9044 GB
Notification: Performance of Templates: time 0.009056/0.02756, allocations: 4.389 MB / 1.161 GB, free: 23.07 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: 7.469723643735051]