Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001546/0.001546, 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.001682/0.001682, allocations: 214.5 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.389/1.389, allocations: 230.6 MB / 256.9 MB, free: 7.738 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.117/3.117, allocations: 0.5108 GB / 0.8167 GB, free: 17.74 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.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.203e-05, allocations: 2.281 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00163/0.001652, allocations: 0.6716 MB / 1.188 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.002886, allocations: 1.087 MB / 1.189 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.002934, allocations: 0 / 1.189 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.002965, allocations: 5.297 kB / 1.189 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.003032, allocations: 10.11 kB / 1.189 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.003321, allocations: 42.09 kB / 1.189 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003443, allocations: 55.03 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003554, allocations: 9.953 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.003618, allocations: 23.23 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.00367, allocations: 22.14 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.003685, allocations: 5.062 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.003754, allocations: 20.48 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.926e-05/0.003844, allocations: 82.84 kB / 1.189 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.109e-05/0.003885, allocations: 54.62 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.003906, allocations: 3.094 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.022e-05/0.003916, allocations: 1.938 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.0006651/0.004581, allocations: 352.6 kB / 1.189 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.575e-05/0.004637, allocations: 48.36 kB / 1.19 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002717/0.004909, allocations: 209.2 kB / 1.19 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.367e-05/0.004992, allocations: 84.16 kB / 1.19 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004037/0.005396, allocations: 217.4 kB / 1.19 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.704e-05/0.005473, allocations: 87.92 kB / 1.19 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.188e-05/0.005515, allocations: 53.19 kB / 1.19 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001697/0.005685, allocations: 120.3 kB / 1.19 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.252e-05/0.005767, allocations: 35.53 kB / 1.19 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001111/0.005878, allocations: 62.11 kB / 1.19 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001988/0.006077, allocations: 106.6 kB / 1.19 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001288/0.006206, allocations: 137.8 kB / 1.191 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002195/0.006425, allocations: 164.3 kB / 1.191 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001889/0.006614, allocations: 198.5 kB / 1.191 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.422e-05/0.006629, allocations: 11.62 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.43e-05/0.006663, allocations: 33.84 kB / 1.191 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002896/0.006952, allocations: 169.1 kB / 1.191 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.223e-05/0.006965, allocations: 6.031 kB / 1.191 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.623e-06/0.006966, allocations: 5.125 kB / 1.191 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.86e-05/0.007025, allocations: 25.81 kB / 1.191 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.589e-06/0.007029, allocations: 1.281 kB / 1.191 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.891e-06/0.007035, allocations: 18.47 kB / 1.191 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.865e-06/0.007043, allocations: 4.734 kB / 1.191 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002286/0.007272, allocations: 143.8 kB / 1.191 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001327/0.007405, allocations: 181.4 kB / 1.192 GB, free: 10.09 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) {unitDelay1.y, unitDelay1.u_internal} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {unitDelay1.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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 4.198e-05/0.007447, allocations: 25.27 kB / 1.192 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005858/0.008032, allocations: 280.5 kB / 1.192 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of Templates: time 0.003349/0.01138, allocations: 0.7478 MB / 1.193 GB, free: 9.801 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.248131202999502] Failed to read output from testmodel.py, exit status != 0: 0.01832941302563995 0.029233409000000002 0.023003558 Calling exit ...