Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001459/0.001459, allocations: 104.3 kB / 19.76 MB, free: 2.043 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.001851/0.001851, allocations: 213.1 kB / 23.06 MB, free: 4.859 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.347/1.347, allocations: 230.7 MB / 256.9 MB, free: 7.758 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.52/2.52, allocations: 476 MB / 0.7708 GB, free: 4.637 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.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/1.883e-05, allocations: 2.938 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001448/0.001467, allocations: 0.6613 MB / 1.119 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.00251, allocations: 1.085 MB / 1.12 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.00255, allocations: 0.5 kB / 1.12 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.002573, allocations: 6.375 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.002631, allocations: 7.766 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.002873, allocations: 51.73 kB / 1.12 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.00296, allocations: 57.09 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.803e-05/0.003038, allocations: 5.859 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.00309, allocations: 24.8 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.395e-05/0.003134, allocations: 22.84 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.003149, allocations: 4.469 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.003208, allocations: 26.72 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.335e-05/0.003281, allocations: 87.08 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.152e-05/0.003303, allocations: 51.33 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.003319, allocations: 3.562 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.548e-06/0.003328, allocations: 6.156 kB / 1.12 GB, free: 40.9 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.003699, allocations: 366.8 kB / 1.12 GB, free: 40.58 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.146e-05/0.003751, allocations: 51.97 kB / 1.12 GB, free: 40.55 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002011/0.003952, allocations: 213.9 kB / 1.121 GB, free: 40.49 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.947e-05/0.004021, allocations: 94.42 kB / 1.121 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002952/0.004317, allocations: 220.6 kB / 1.121 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.276e-05/0.004369, allocations: 87.61 kB / 1.121 GB, free: 40.15 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.658e-05/0.004396, allocations: 57.69 kB / 1.121 GB, free: 40.09 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001245/0.00452, allocations: 125.1 kB / 1.121 GB, free: 39.98 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.66e-05/0.004587, allocations: 34.66 kB / 1.121 GB, free: 39.97 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.879e-05/0.004676, allocations: 76.78 kB / 1.121 GB, free: 39.95 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001668/0.004843, allocations: 134.5 kB / 1.121 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.335e-05/0.004936, allocations: 149 kB / 1.121 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001891/0.005125, allocations: 158.1 kB / 1.122 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001353/0.00526, allocations: 236.7 kB / 1.122 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.122e-05/0.005272, allocations: 11.72 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.502e-05/0.005297, allocations: 36.91 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003541/0.005651, allocations: 304.5 kB / 1.122 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.173e-05/0.005662, allocations: 7.031 kB / 1.122 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.1e-07/0.005663, allocations: 0.6562 kB / 1.122 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.34e-05/0.005716, allocations: 36.41 kB / 1.122 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.828e-06/0.00572, allocations: 6.594 kB / 1.122 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.067e-06/0.005724, allocations: 7 kB / 1.122 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.781e-06/0.00573, allocations: 5.406 kB / 1.122 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001679/0.005898, allocations: 155.6 kB / 1.122 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.667e-05/0.005985, allocations: 186.8 kB / 1.123 GB, free: 39.47 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.191e-05/0.006016, allocations: 21.38 kB / 1.123 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004148/0.006431, allocations: 291.5 kB / 1.123 GB, free: 39.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.002951/0.009382, allocations: 0.8044 MB / 1.124 GB, free: 39.3 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.588241100020241] Failed to read output from testmodel.py, exit status != 0: 0.47058602899778634 0.026329805 0.020925621000000002 Calling exit ...