Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001235/0.001235, allocations: 104.3 kB / 19.77 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.001336/0.001336, allocations: 217.5 kB / 23.07 MB, free: 4.844 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.347/1.347, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.612/2.612, allocations: 476 MB / 0.7708 GB, free: 4.648 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.122e-05, allocations: 2.828 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001643/0.001665, allocations: 0.6683 MB / 1.119 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003049, allocations: 1.221 MB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.003092, allocations: 1.344 kB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.003117, allocations: 3.938 kB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.474e-05/0.003182, allocations: 16.27 kB / 1.12 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.003756, allocations: 222.8 kB / 1.12 GB, free: 41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.003966, allocations: 181.3 kB / 1.12 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.004055, allocations: 18.44 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.004147, allocations: 66.67 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.004247, allocations: 60.23 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.004277, allocations: 17.38 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.004339, allocations: 30.62 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001362/0.004475, allocations: 174.4 kB / 1.121 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.208e-05/0.004497, allocations: 57.97 kB / 1.121 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.004531, allocations: 11.88 kB / 1.121 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.015e-05/0.004541, allocations: 1.719 kB / 1.121 GB, free: 40.91 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.0005368/0.005078, allocations: 0.5714 MB / 1.121 GB, free: 40.59 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.257e-05/0.00512, allocations: 37.59 kB / 1.121 GB, free: 40.55 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004679/0.005588, allocations: 0.5273 MB / 1.122 GB, free: 40.49 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002049/0.005793, allocations: 234.4 kB / 1.122 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004597/0.006253, allocations: 385.7 kB / 1.122 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001866/0.006439, allocations: 230.5 kB / 1.123 GB, free: 40.15 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001487/0.006588, allocations: 192.5 kB / 1.123 GB, free: 40.1 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002543/0.006842, allocations: 278.1 kB / 1.123 GB, free: 39.98 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.269e-05/0.006905, allocations: 34.03 kB / 1.123 GB, free: 39.97 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.846e-05/0.006983, allocations: 64.31 kB / 1.123 GB, free: 39.96 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001372/0.007121, allocations: 98.61 kB / 1.123 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002462/0.007367, allocations: 390.6 kB / 1.124 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003992/0.007766, allocations: 383.4 kB / 1.124 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003235/0.00809, allocations: 479.6 kB / 1.124 GB, free: 39.38 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.164e-05/0.008101, allocations: 13.7 kB / 1.124 GB, free: 39.36 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.339e-05/0.008165, allocations: 83.92 kB / 1.124 GB, free: 39.32 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002747/0.008439, allocations: 208.8 kB / 1.125 GB, free: 39.27 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.859e-06/0.008449, allocations: 4 kB / 1.125 GB, free: 39.26 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.453e-06/0.008451, allocations: 4.406 kB / 1.125 GB, free: 39.26 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.425e-05/0.008465, allocations: 13.53 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.759e-06/0.00847, allocations: 1.453 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.124e-06/0.008472, allocations: 1.375 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.164e-06/0.008479, allocations: 11 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.56e-05/0.008545, allocations: 35.83 kB / 1.125 GB, free: 39.23 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.023e-06/0.008552, allocations: 0 / 1.125 GB, free: 39.23 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.675e-05/0.008588, allocations: 19.28 kB / 1.125 GB, free: 39.22 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004817/0.00907, allocations: 332.6 kB / 1.125 GB, free: 39.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.004048/0.01312, allocations: 1.85 MB / 1.127 GB, free: 38.94 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.906669408024754]