Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001481/0.001481, 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.00169/0.00169, allocations: 216.3 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.402/1.402, allocations: 230.6 MB / 256.9 MB, free: 7.727 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.105/3.105, allocations: 0.5108 GB / 0.8167 GB, free: 17.73 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.684e-05, allocations: 2.281 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001519/0.001536, allocations: 0.6558 MB / 1.188 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.00284, allocations: 1.084 MB / 1.189 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.002877, allocations: 0 / 1.189 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.002906, allocations: 7.656 kB / 1.189 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.002973, allocations: 4.734 kB / 1.189 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.003273, allocations: 52.39 kB / 1.189 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003374, allocations: 47.58 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.003473, allocations: 17.23 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.003533, allocations: 18.97 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.003585, allocations: 23.39 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.003601, allocations: 8.031 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.003669, allocations: 20.67 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.368e-05/0.003753, allocations: 81.91 kB / 1.189 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.442e-05/0.003777, allocations: 42.47 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.003801, allocations: 6.312 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.092e-05/0.003812, allocations: 6.016 kB / 1.189 GB, free: 12.05 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0003861/0.004198, allocations: 336.8 kB / 1.189 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.986e-05/0.004268, allocations: 44.64 kB / 1.189 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002487/0.004517, allocations: 208.4 kB / 1.19 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.252e-05/0.004599, allocations: 91.91 kB / 1.19 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003471/0.004946, allocations: 219.3 kB / 1.19 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.731e-05/0.005014, allocations: 87.89 kB / 1.19 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.13e-05/0.005045, allocations: 44.8 kB / 1.19 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001387/0.005184, allocations: 133.9 kB / 1.19 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.042e-05/0.005254, allocations: 28.05 kB / 1.19 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.925e-05/0.005353, allocations: 80.28 kB / 1.19 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001842/0.005538, allocations: 116.1 kB / 1.19 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001172/0.005655, allocations: 138.3 kB / 1.191 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002234/0.005878, allocations: 157 kB / 1.191 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001752/0.006053, allocations: 206.1 kB / 1.191 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.405e-05/0.006067, allocations: 16.02 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.533e-05/0.006103, allocations: 32.16 kB / 1.191 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003819/0.006485, allocations: 257.1 kB / 1.191 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.194e-05/0.006497, allocations: 6.781 kB / 1.191 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.006497, allocations: 0 / 1.191 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.728e-05/0.006554, allocations: 31.89 kB / 1.191 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.838e-06/0.006558, allocations: 3.984 kB / 1.191 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.938e-06/0.006562, allocations: 7.125 kB / 1.191 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.8e-06/0.006568, allocations: 1.859 kB / 1.191 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002001/0.006768, allocations: 150 kB / 1.191 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.113e-05/0.006859, allocations: 175.6 kB / 1.192 GB, free: 10.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: .................... 2 (2) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {sampler1.sampleTrigger, $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: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.349e-05/0.006893, allocations: 37.05 kB / 1.192 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004946/0.007387, allocations: 289.8 kB / 1.192 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of Templates: time 0.003348/0.01074, allocations: 0.7583 MB / 1.193 GB, free: 9.762 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.259087715006899] Failed to read output from testmodel.py, exit status != 0: 0.017447049962356687 0.028404505000000004 0.022227973 Calling exit ...