Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001639/0.001639, 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.001737/0.001737, 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.345/1.345, allocations: 230.6 MB / 256.9 MB, free: 7.742 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.869/2.869, allocations: 0.4893 GB / 0.7952 GB, free: 35.49 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.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.723e-05, allocations: 4.531 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.0014/0.001417, allocations: 0.6693 MB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002467, allocations: 1.088 MB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.002503, allocations: 0.9062 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.002526, allocations: 4.547 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.002586, allocations: 13.8 kB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.002834, allocations: 45.92 kB / 1.156 GB, free: 24.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.002921, allocations: 60.33 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.002999, allocations: 16.56 kB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.003053, allocations: 19.55 kB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.003093, allocations: 22.64 kB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003106, allocations: 5 kB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.003165, allocations: 23.94 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.427e-05/0.003239, allocations: 84.33 kB / 1.156 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.345e-05/0.003263, allocations: 55.45 kB / 1.156 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.003279, allocations: 3.375 kB / 1.156 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.015e-05/0.003289, allocations: 1.156 kB / 1.156 GB, free: 24.09 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0003712/0.00366, allocations: 363.2 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.878e-05/0.003709, allocations: 46.56 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002046/0.003914, allocations: 216.4 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.628e-05/0.00399, allocations: 89.52 kB / 1.157 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002991/0.004289, allocations: 225 kB / 1.157 GB, free: 23.24 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.643e-05/0.004346, allocations: 83.05 kB / 1.157 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.828e-05/0.004374, allocations: 50.66 kB / 1.157 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001307/0.004504, allocations: 121.9 kB / 1.158 GB, free: 22.95 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.021e-05/0.004575, allocations: 45.59 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.395e-05/0.004669, allocations: 75.8 kB / 1.158 GB, free: 22.88 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001959/0.004865, allocations: 133.6 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001183/0.004983, allocations: 163 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002011/0.005184, allocations: 149 kB / 1.158 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000174/0.005358, allocations: 232.5 kB / 1.158 GB, free: 22.47 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.434e-05/0.005372, allocations: 18.05 kB / 1.158 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.07e-05/0.005403, allocations: 43.25 kB / 1.158 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004359/0.005839, allocations: 299.8 kB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.149e-05/0.00585, allocations: 6.219 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.005851, allocations: 1.312 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.261e-05/0.005903, allocations: 35.27 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.819e-06/0.005908, allocations: 9.438 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.286e-06/0.005912, allocations: 6.156 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.41e-06/0.005917, allocations: 1.094 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000198/0.006115, allocations: 153.8 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.257e-05/0.006207, allocations: 184 kB / 1.159 GB, free: 22.07 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) {zerOrdHol.ySample, zerOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {zerOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, 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: ........... 12 (scalar:12, 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.481e-05/0.006242, allocations: 37.64 kB / 1.159 GB, free: 22.04 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004447/0.006687, allocations: 295.7 kB / 1.159 GB, free: 21.85 MB / 0.9044 GB Notification: Performance of Templates: time 0.003164/0.009851, allocations: 0.8139 MB / 1.16 GB, free: 21.73 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.565635430975817] Failed to read output from testmodel.py, exit status != 0: 0.016162630054168403 0.026783315000000002 0.021268323000000002 Calling exit ...