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.001497/0.001497, allocations: 104.3 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.001656/0.001656, allocations: 213.8 kB / 23.06 MB, free: 4.984 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.357/1.357, allocations: 230.7 MB / 256.9 MB, free: 7.723 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 2.889/2.889, allocations: 0.4893 GB / 0.7952 GB, free: 35.64 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.714e-05/1.714e-05, allocations: 4.531 kB / 1.154 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001498/0.001516, allocations: 0.6714 MB / 1.155 GB, free: 24.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.002795, allocations: 1.22 MB / 1.156 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.002834, allocations: 0.8438 kB / 1.156 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.002869, allocations: 5.906 kB / 1.156 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.002933, allocations: 14.77 kB / 1.156 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.003505, allocations: 223.2 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.003708, allocations: 190.8 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.003781, allocations: 4.109 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.003862, allocations: 64.3 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.003952, allocations: 62.91 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.003989, allocations: 15 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.811e-05/0.004057, allocations: 28.12 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001354/0.004192, allocations: 177.1 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.565e-05/0.004218, allocations: 62.92 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.004251, allocations: 18.56 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.618e-06/0.004261, allocations: 6.25 kB / 1.157 GB, free: 23.63 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.0005392/0.0048, allocations: 0.5551 MB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.948e-05/0.00484, allocations: 33.19 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0005429/0.005382, allocations: 0.5324 MB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002432/0.005626, allocations: 232.9 kB / 1.158 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004943/0.00612, allocations: 383.5 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002382/0.006358, allocations: 230.4 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002037/0.006562, allocations: 196.2 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.00028/0.006842, allocations: 280.9 kB / 1.159 GB, free: 21.98 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.353e-05/0.006905, allocations: 35.92 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.495e-05/0.00699, allocations: 54.41 kB / 1.16 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001544/0.007145, allocations: 94.14 kB / 1.16 GB, free: 21.9 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003281/0.007473, allocations: 391.5 kB / 1.16 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.000419/0.007892, allocations: 374.3 kB / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003613/0.008253, allocations: 486.9 kB / 1.161 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.179e-05/0.008265, allocations: 12.41 kB / 1.161 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.93e-05/0.008334, allocations: 81.42 kB / 1.161 GB, free: 21.2 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002764/0.008611, allocations: 215.3 kB / 1.161 GB, free: 21.13 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.857e-06/0.008619, allocations: 1.656 kB / 1.161 GB, free: 21.13 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.00862, allocations: 0 / 1.161 GB, free: 21.13 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.328e-05/0.008633, allocations: 26.62 kB / 1.161 GB, free: 21.1 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.587e-06/0.008637, allocations: 1.156 kB / 1.161 GB, free: 21.1 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.006e-06/0.00864, allocations: 5.375 kB / 1.161 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.14e-06/0.008645, allocations: 1.375 kB / 1.161 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.311e-05/0.008708, allocations: 35.05 kB / 1.161 GB, free: 21.08 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.611e-06/0.008714, allocations: 0.75 kB / 1.161 GB, free: 21.08 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.025e-05/0.008744, allocations: 28.31 kB / 1.161 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004355/0.009179, allocations: 328.5 kB / 1.162 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.004259/0.01344, allocations: 1.855 MB / 1.163 GB, free: 20.64 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/jenkins1/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] "" 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.557210401981138]