Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001295/0.001295, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001694/0.001694, allocations: 212.5 kB / 23.06 MB, free: 4.988 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.379/1.379, allocations: 230.7 MB / 256.9 MB, free: 7.734 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.026/3.026, allocations: 0.5108 GB / 0.8167 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/1.924e-05, allocations: 4.109 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001494/0.001513, allocations: 0.6815 MB / 1.188 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.002786, allocations: 1.218 MB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.002827, allocations: 2.094 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.002855, allocations: 4.734 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.002925, allocations: 11.89 kB / 1.189 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.003527, allocations: 223.8 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.003754, allocations: 183.3 kB / 1.189 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.003841, allocations: 18.28 kB / 1.189 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.003933, allocations: 68.41 kB / 1.189 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.004051, allocations: 62.8 kB / 1.19 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.004088, allocations: 15.38 kB / 1.19 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.004164, allocations: 28.88 kB / 1.19 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001548/0.004319, allocations: 178.3 kB / 1.19 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.374e-05/0.004343, allocations: 50.88 kB / 1.19 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.004381, allocations: 11.5 kB / 1.19 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.18e-05/0.004393, allocations: 9.312 kB / 1.19 GB, free: 11.74 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.0006241/0.005017, allocations: 0.566 MB / 1.19 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.251e-05/0.00506, allocations: 37.77 kB / 1.19 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0005662/0.005626, allocations: 0.5264 MB / 1.191 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002478/0.005874, allocations: 234.5 kB / 1.191 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005181/0.006392, allocations: 380.2 kB / 1.191 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002414/0.006633, allocations: 233.1 kB / 1.192 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001942/0.006827, allocations: 192.6 kB / 1.192 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003111/0.007138, allocations: 277.1 kB / 1.192 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.854e-05/0.007207, allocations: 43.48 kB / 1.192 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.716e-05/0.007304, allocations: 64.27 kB / 1.192 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001582/0.007462, allocations: 86.86 kB / 1.192 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003338/0.007796, allocations: 393 kB / 1.193 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004295/0.008226, allocations: 384.3 kB / 1.193 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003949/0.008621, allocations: 482.9 kB / 1.194 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.336e-05/0.008634, allocations: 15.67 kB / 1.194 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.79e-05/0.008712, allocations: 77.86 kB / 1.194 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002969/0.009009, allocations: 203.9 kB / 1.194 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.101e-05/0.00902, allocations: 6.188 kB / 1.194 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.00902, allocations: 0 / 1.194 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.607e-05/0.009036, allocations: 12.34 kB / 1.194 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.938e-06/0.00904, allocations: 7.938 kB / 1.194 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.908e-06/0.009044, allocations: 10.19 kB / 1.194 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.973e-06/0.009051, allocations: 1.766 kB / 1.194 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.88e-05/0.00912, allocations: 34.62 kB / 1.194 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.995e-06/0.009128, allocations: 5.094 kB / 1.194 GB, free: 9.16 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.237e-05/0.00916, allocations: 24.19 kB / 1.194 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005817/0.009742, allocations: 332 kB / 1.194 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of Templates: time 0.004584/0.01433, allocations: 1.861 MB / 1.196 GB, free: 8.73 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,onCounter.trigger,onCounter.reset,onCounter.y Variables in the result:booPul.period,booPul.shift,booPul.t0,booPul.t1,booPul.width,booPul.y,onCounter.reset,onCounter.trigger,onCounter.y,onCounter.y_start,reset.period,reset.shift,reset.t0,reset.t1,reset.width,reset.y,time [Calling sys.exit(0), Time elapsed: 7.967070521030109]