Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001279/0.001279, 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.001343/0.001343, allocations: 212.2 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.345/1.345, allocations: 230.7 MB / 256.9 MB, free: 7.762 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.894/2.894, allocations: 0.4893 GB / 0.7952 GB, free: 35.46 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.536e-05, allocations: 2.281 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001433/0.001448, allocations: 0.6658 MB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.002487, allocations: 1.084 MB / 1.156 GB, free: 24.37 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.002529, allocations: 1.656 kB / 1.156 GB, free: 24.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.00255, allocations: 0.5 kB / 1.156 GB, free: 24.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.002609, allocations: 13.61 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.002849, allocations: 39.44 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.002932, allocations: 55.92 kB / 1.156 GB, free: 24.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.003018, allocations: 11.47 kB / 1.156 GB, free: 24.31 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.003065, allocations: 16 kB / 1.156 GB, free: 24.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.003101, allocations: 21.62 kB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.003115, allocations: 3.031 kB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.003169, allocations: 26.62 kB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.524e-05/0.003234, allocations: 88.3 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.94e-05/0.003253, allocations: 53.27 kB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.003273, allocations: 1.344 kB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.357e-06/0.003283, allocations: 3.281 kB / 1.156 GB, free: 24.19 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.0003445/0.003627, allocations: 360.9 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.014e-05/0.003677, allocations: 43 kB / 1.157 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000201/0.003878, allocations: 208.6 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.718e-05/0.003946, allocations: 90.14 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003026/0.004248, allocations: 225.9 kB / 1.157 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.383e-05/0.004302, allocations: 83.11 kB / 1.157 GB, free: 23.24 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.873e-05/0.004331, allocations: 52.05 kB / 1.157 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000123/0.004454, allocations: 122.6 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.312e-05/0.004517, allocations: 36.17 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.267e-05/0.0046, allocations: 65.94 kB / 1.158 GB, free: 22.98 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001601/0.00476, allocations: 112.4 kB / 1.158 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001008/0.004861, allocations: 135.1 kB / 1.158 GB, free: 22.88 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001631/0.005024, allocations: 149.1 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001357/0.005159, allocations: 204.2 kB / 1.158 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.151e-05/0.005171, allocations: 11.38 kB / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.143e-05/0.005192, allocations: 29.64 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002281/0.00542, allocations: 174.5 kB / 1.158 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.005e-05/0.00543, allocations: 4.375 kB / 1.158 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.022e-06/0.005431, allocations: 1.281 kB / 1.158 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.808e-05/0.00548, allocations: 33.19 kB / 1.158 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.466e-06/0.005483, allocations: 0.9062 kB / 1.158 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.048e-06/0.005487, allocations: 6.469 kB / 1.158 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.611e-06/0.005493, allocations: 9.438 kB / 1.158 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001759/0.005669, allocations: 137.3 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.891e-05/0.005747, allocations: 180.9 kB / 1.159 GB, free: 22.25 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 2.842e-05/0.005776, allocations: 25.33 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004309/0.006207, allocations: 281.8 kB / 1.159 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.002981/0.009187, allocations: 0.7682 MB / 1.16 GB, free: 21.93 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.593988152977545] Failed to read output from testmodel.py, exit status != 0: 0.015548752038739622 0.026172820000000003 0.020397941000000003 Calling exit ...