Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002003/0.002003, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001549/0.001549, allocations: 207 kB / 23.01 MB, free: 4.93 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.371/3.371, allocations: 0.49 GB / 0.7958 GB, free: 35.44 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.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.487e-05, allocations: 4.25 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001838/0.001863, allocations: 0.9342 MB / 1.156 GB, free: 24.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.003989, allocations: 1.665 MB / 1.158 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.004098, allocations: 3.562 kB / 1.158 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.992e-05/0.004158, allocations: 18.38 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.00429, allocations: 40.84 kB / 1.158 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.00515, allocations: 327.4 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.005605, allocations: 462.2 kB / 1.158 GB, free: 23.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.005752, allocations: 47.52 kB / 1.158 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.005979, allocations: 189.8 kB / 1.159 GB, free: 23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.006195, allocations: 179.4 kB / 1.159 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.006278, allocations: 41.56 kB / 1.159 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.006398, allocations: 55.7 kB / 1.159 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004211/0.006819, allocations: 0.5227 MB / 1.159 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.000117/0.006936, allocations: 225.2 kB / 1.16 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.00703, allocations: 28.75 kB / 1.16 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.076e-05/0.007061, allocations: 12.88 kB / 1.16 GB, free: 22.43 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.001371/0.008432, allocations: 1.464 MB / 1.161 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001806/0.008612, allocations: 162.1 kB / 1.161 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001552/0.01016, allocations: 1.636 MB / 1.163 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005205/0.01069, allocations: 412.5 kB / 1.163 GB, free: 20.39 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001599/0.01228, allocations: 1.204 MB / 1.164 GB, free: 19.69 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0004687/0.01275, allocations: 405.4 kB / 1.165 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0003208/0.01307, allocations: 309.9 kB / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000751/0.01383, allocations: 0.6282 MB / 1.166 GB, free: 18.95 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003048/0.01413, allocations: 213.3 kB / 1.166 GB, free: 18.83 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0005648/0.01469, allocations: 442.4 kB / 1.166 GB, free: 18.67 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001063/0.01576, allocations: 0.7424 MB / 1.167 GB, free: 18.48 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001387/0.01714, allocations: 1.245 MB / 1.168 GB, free: 17.91 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001088/0.01823, allocations: 0.7261 MB / 1.169 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00171/0.01994, allocations: 1.638 MB / 1.171 GB, free: 16.69 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 6.205e-05/0.02, allocations: 39.22 kB / 1.171 GB, free: 16.66 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002933/0.0203, allocations: 277.5 kB / 1.171 GB, free: 16.52 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001514/0.02181, allocations: 1.041 MB / 1.172 GB, free: 16.28 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.681e-05/0.02184, allocations: 37.5 kB / 1.172 GB, free: 16.25 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.012e-06/0.02184, allocations: 1.062 kB / 1.172 GB, free: 16.25 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 9.878e-06/0.02185, allocations: 0 / 1.172 GB, free: 16.25 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.118e-05/0.02186, allocations: 26.47 kB / 1.172 GB, free: 16.23 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.216e-05/0.02187, allocations: 2.766 kB / 1.172 GB, free: 16.23 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0004778/0.02235, allocations: 367.4 kB / 1.172 GB, free: 16.1 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.137e-06/0.02236, allocations: 4 kB / 1.172 GB, free: 16.09 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.0001284/0.02249, allocations: 44.62 kB / 1.172 GB, free: 16.06 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001329/0.02382, allocations: 0.8761 MB / 1.173 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of Templates: time 0.01079/0.03461, allocations: 4.633 MB / 1.178 GB, free: 15.12 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TimerWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.218078094068915]