Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001469/0.001469, 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.001503/0.001503, allocations: 216.5 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.378/1.378, allocations: 230.7 MB / 256.9 MB, free: 7.719 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.085/3.085, allocations: 0.5108 GB / 0.8167 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.127e-05, allocations: 6.219 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001786/0.001807, allocations: 0.6812 MB / 1.188 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003184, allocations: 1.097 MB / 1.189 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.003243, allocations: 5.281 kB / 1.189 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.003268, allocations: 0 / 1.189 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.003351, allocations: 14.69 kB / 1.189 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.003701, allocations: 50.03 kB / 1.189 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003831, allocations: 77.77 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.003928, allocations: 6.562 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.003999, allocations: 30.28 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.004072, allocations: 29.55 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.004094, allocations: 8.75 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.004167, allocations: 28.98 kB / 1.189 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000107/0.004274, allocations: 113.4 kB / 1.189 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.566e-05/0.0043, allocations: 58.14 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.004324, allocations: 7.656 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.401e-05/0.004338, allocations: 9.406 kB / 1.189 GB, free: 12.01 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0004965/0.004834, allocations: 422.4 kB / 1.19 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.07e-05/0.004915, allocations: 59.72 kB / 1.19 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003741/0.005289, allocations: 295.6 kB / 1.19 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001321/0.005421, allocations: 100.5 kB / 1.19 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005077/0.005929, allocations: 272.1 kB / 1.19 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.888e-05/0.006028, allocations: 111.7 kB / 1.19 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.605e-05/0.006084, allocations: 59.47 kB / 1.191 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002268/0.006311, allocations: 160 kB / 1.191 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.144e-05/0.006402, allocations: 37.64 kB / 1.191 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001641/0.006566, allocations: 105.1 kB / 1.191 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003229/0.006889, allocations: 174.7 kB / 1.191 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002087/0.007098, allocations: 219 kB / 1.191 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002632/0.007361, allocations: 204 kB / 1.191 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002607/0.007622, allocations: 321.4 kB / 1.192 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.784e-05/0.007639, allocations: 18 kB / 1.192 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.498e-05/0.007694, allocations: 50.45 kB / 1.192 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004568/0.008151, allocations: 288.8 kB / 1.192 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.366e-05/0.008165, allocations: 11.28 kB / 1.192 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.32e-07/0.008166, allocations: 1.094 kB / 1.192 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 7.52e-05/0.008241, allocations: 45.34 kB / 1.192 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.489e-06/0.008245, allocations: 0 / 1.192 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.98e-06/0.00825, allocations: 7.781 kB / 1.192 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.562e-06/0.008257, allocations: 1.188 kB / 1.192 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002582/0.008515, allocations: 193.2 kB / 1.192 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001022/0.008617, allocations: 183.2 kB / 1.192 GB, free: 9.727 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: .................... 5 (5) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.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: ............ 5 (algorithm:0, when:5, 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: ........... 19 (scalar:19, 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 9.369e-05/0.008711, allocations: 33.97 kB / 1.192 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005568/0.009268, allocations: 331.5 kB / 1.193 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of Templates: time 0.003424/0.01269, allocations: 0.9139 MB / 1.194 GB, free: 9.391 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.142945936997421] Failed to read output from testmodel.py, exit status != 0: 0.019800384994596243 0.032728394 0.025745639 Calling exit ...