Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001265/0.001265, 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.001387/0.001387, allocations: 215.8 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.346/1.346, 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 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.518/2.518, allocations: 476 MB / 0.7708 GB, free: 4.641 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.749e-05, allocations: 4.656 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001452/0.001469, allocations: 0.6504 MB / 1.119 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002513, allocations: 1.082 MB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.002555, allocations: 5.094 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.002582, allocations: 5.859 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.002631, allocations: 8.141 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.002867, allocations: 44.81 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.002951, allocations: 43.94 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.003037, allocations: 5.938 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.003085, allocations: 17.92 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.00313, allocations: 21.58 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.003146, allocations: 3.281 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.003204, allocations: 23.45 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.628e-05/0.003271, allocations: 78.19 kB / 1.12 GB, free: 40.88 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.925e-05/0.00329, allocations: 50.64 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.003305, allocations: 3.406 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.857e-06/0.003314, allocations: 4.562 kB / 1.12 GB, free: 40.85 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of [SIM] Bindings: time 0.0003384/0.003652, allocations: 340 kB / 1.12 GB, free: 40.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.329e-05/0.003695, allocations: 47.95 kB / 1.12 GB, free: 40.5 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001904/0.003886, allocations: 192.3 kB / 1.12 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.827e-05/0.003944, allocations: 83.39 kB / 1.121 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002834/0.004227, allocations: 214.3 kB / 1.121 GB, free: 40.2 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.092e-05/0.004278, allocations: 89.73 kB / 1.121 GB, free: 40.1 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.421e-05/0.004302, allocations: 49.33 kB / 1.121 GB, free: 40.04 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001135/0.004416, allocations: 119.1 kB / 1.121 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.199e-05/0.004478, allocations: 29.06 kB / 1.121 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.189e-05/0.00455, allocations: 59.92 kB / 1.121 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001406/0.00469, allocations: 112.8 kB / 1.121 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.953e-05/0.00477, allocations: 124.5 kB / 1.121 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001445/0.004914, allocations: 146 kB / 1.121 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001092/0.005024, allocations: 196.2 kB / 1.122 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.929e-06/0.005034, allocations: 12.45 kB / 1.122 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.027e-05/0.005054, allocations: 36.75 kB / 1.122 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003091/0.005363, allocations: 266.1 kB / 1.122 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.277e-06/0.005372, allocations: 4 kB / 1.122 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.02e-07/0.005373, allocations: 2.969 kB / 1.122 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.841e-05/0.005422, allocations: 41.5 kB / 1.122 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.035e-06/0.005425, allocations: 0.6875 kB / 1.122 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.525e-06/0.005427, allocations: 7.906 kB / 1.122 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.249e-06/0.005432, allocations: 4.5 kB / 1.122 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001513/0.005584, allocations: 150.7 kB / 1.122 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.48e-05/0.005658, allocations: 181.7 kB / 1.122 GB, free: 39.44 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: .................... 1 (1) {unitDelay1.y} * 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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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.944e-05/0.005688, allocations: 21.41 kB / 1.122 GB, free: 39.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003933/0.006081, allocations: 284.2 kB / 1.123 GB, free: 39.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.002851/0.008932, allocations: 0.7825 MB / 1.123 GB, free: 39.27 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.603690027957782] Failed to read output from testmodel.py, exit status != 0: 0.45965455303667113 0.024614268 0.019329157 Calling exit ...