Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001354/0.001354, 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.001496/0.001496, allocations: 210.1 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.27/1.27, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 179] 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.752/2.752, allocations: 0.49 GB / 0.7958 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.561e-05, allocations: 2.281 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001333/0.001349, allocations: 0.6755 MB / 1.156 GB, free: 24.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002438, allocations: 1.213 MB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.002473, allocations: 0.5312 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.002499, allocations: 6.141 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.002551, allocations: 12.59 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.003074, allocations: 229.3 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.00326, allocations: 182 kB / 1.157 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.207e-05/0.003332, allocations: 8.156 kB / 1.157 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.003413, allocations: 73.58 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.00351, allocations: 65.98 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.003543, allocations: 16.88 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.003608, allocations: 32.86 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001263/0.003735, allocations: 178.5 kB / 1.158 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.504e-05/0.00376, allocations: 57.78 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.003795, allocations: 15.12 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.887e-06/0.003804, allocations: 2.156 kB / 1.158 GB, free: 23.57 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0005165/0.004321, allocations: 0.5557 MB / 1.158 GB, free: 23.11 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.449e-05/0.004355, allocations: 32.58 kB / 1.158 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004709/0.004826, allocations: 0.5199 MB / 1.159 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002195/0.005046, allocations: 256.5 kB / 1.159 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004332/0.005479, allocations: 382.8 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002165/0.005695, allocations: 254.6 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001572/0.005852, allocations: 196.9 kB / 1.16 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002564/0.006109, allocations: 271 kB / 1.16 GB, free: 21.88 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.058e-05/0.006169, allocations: 39.25 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.603e-05/0.006255, allocations: 60.55 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001403/0.006396, allocations: 100.5 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002714/0.006667, allocations: 384.9 kB / 1.161 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003782/0.007045, allocations: 403 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000353/0.007398, allocations: 487.1 kB / 1.161 GB, free: 21.12 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.308e-05/0.007411, allocations: 17.75 kB / 1.162 GB, free: 21.1 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.132e-05/0.007483, allocations: 81.28 kB / 1.162 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003003/0.007783, allocations: 206.4 kB / 1.162 GB, free: 21 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.11e-05/0.007794, allocations: 9.781 kB / 1.162 GB, free: 20.99 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.11e-07/0.007795, allocations: 0 / 1.162 GB, free: 20.99 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.057e-06/0.007799, allocations: 1.062 kB / 1.162 GB, free: 20.99 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.304e-06/0.007801, allocations: 4.938 kB / 1.162 GB, free: 20.98 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.142e-06/0.007807, allocations: 5.734 kB / 1.162 GB, free: 20.98 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.881e-05/0.007876, allocations: 40.16 kB / 1.162 GB, free: 20.96 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.671e-06/0.007882, allocations: 0 / 1.162 GB, free: 20.96 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: .................... 3 (3) {reset.y, booPul.y, onCounter.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 3.187e-05/0.007913, allocations: 25.47 kB / 1.162 GB, free: 20.95 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004919/0.008405, allocations: 340.7 kB / 1.162 GB, free: 20.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.004289/0.01269, allocations: 1.992 MB / 1.164 GB, free: 20.53 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.238557807169855]