Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001742/0.001742, 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.002149/0.002149, allocations: 213.3 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.43/1.43, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.215/3.215, allocations: 0.5108 GB / 0.8167 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.662e-05, allocations: 2.281 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001529/0.001546, allocations: 0.6762 MB / 1.188 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002749, allocations: 1.094 MB / 1.189 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.00279, allocations: 1.906 kB / 1.189 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.002815, allocations: 3.938 kB / 1.189 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.00288, allocations: 9.781 kB / 1.189 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.003166, allocations: 47.62 kB / 1.189 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003267, allocations: 57.25 kB / 1.189 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.003363, allocations: 5.641 kB / 1.189 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.003426, allocations: 24.83 kB / 1.189 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.003478, allocations: 26.92 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003494, allocations: 7.625 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-05/0.003556, allocations: 20.73 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.156e-05/0.003638, allocations: 84.47 kB / 1.189 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.589e-05/0.003663, allocations: 55.69 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.003681, allocations: 2.625 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.197e-06/0.00369, allocations: 1.438 kB / 1.189 GB, free: 12.07 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.0004277/0.004118, allocations: 350 kB / 1.19 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.448e-05/0.004182, allocations: 52.05 kB / 1.19 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002627/0.004445, allocations: 225.6 kB / 1.19 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.301e-05/0.004528, allocations: 84.05 kB / 1.19 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003539/0.004882, allocations: 221.8 kB / 1.19 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.146e-05/0.004953, allocations: 91.58 kB / 1.19 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.421e-05/0.004987, allocations: 45.92 kB / 1.19 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001517/0.005139, allocations: 133.6 kB / 1.19 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.475e-05/0.005214, allocations: 32.39 kB / 1.19 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001095/0.005323, allocations: 82.52 kB / 1.19 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002019/0.005525, allocations: 130.5 kB / 1.191 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001289/0.005654, allocations: 155.8 kB / 1.191 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002143/0.005868, allocations: 169.1 kB / 1.191 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001872/0.006056, allocations: 231.1 kB / 1.191 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.229e-05/0.006068, allocations: 11.7 kB / 1.191 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.61e-05/0.006104, allocations: 37.03 kB / 1.191 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004197/0.006524, allocations: 294.6 kB / 1.191 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.167e-05/0.006535, allocations: 7.844 kB / 1.191 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.006536, allocations: 0 / 1.191 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.596e-05/0.006592, allocations: 44.33 kB / 1.191 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.198e-06/0.006596, allocations: 1 kB / 1.191 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.02e-06/0.006601, allocations: 10.25 kB / 1.191 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.203e-06/0.006608, allocations: 9.719 kB / 1.191 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002098/0.006818, allocations: 163.3 kB / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001016/0.00692, allocations: 178.3 kB / 1.192 GB, free: 10.02 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.616e-05/0.006956, allocations: 25.78 kB / 1.192 GB, free: 10 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000705/0.007661, allocations: 295.3 kB / 1.192 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of Templates: time 0.00398/0.01164, allocations: 0.808 MB / 1.193 GB, free: 9.711 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.35171697899932] Failed to read output from testmodel.py, exit status != 0: 0.018309616018086672 0.031212521000000003 0.025016863 Calling exit ...