Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001559/0.001559, 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.001632/0.001632, allocations: 211.9 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.408/1.408, allocations: 230.6 MB / 256.9 MB, free: 7.777 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.01/3.01, allocations: 0.5108 GB / 0.8167 GB, free: 17.77 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.488e-05, allocations: 6.219 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001675/0.00169, allocations: 0.8585 MB / 1.188 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002911, allocations: 1.189 MB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.002966, allocations: 1 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.002996, allocations: 9.703 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.003075, allocations: 17.56 kB / 1.189 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.00354, allocations: 163.1 kB / 1.189 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.003762, allocations: 173.8 kB / 1.19 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.003883, allocations: 35.28 kB / 1.19 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.132e-05/0.003975, allocations: 64.7 kB / 1.19 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.004071, allocations: 67.33 kB / 1.19 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.0041, allocations: 15.06 kB / 1.19 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.004163, allocations: 26.98 kB / 1.19 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001474/0.00431, allocations: 236.7 kB / 1.19 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.337e-05/0.004354, allocations: 124.5 kB / 1.19 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.004389, allocations: 11.41 kB / 1.19 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.348e-05/0.004402, allocations: 6.594 kB / 1.19 GB, free: 11.52 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: 16 (16) * Number of variables: 16 (16) Notification: Performance of [SIM] Bindings: time 0.0006189/0.005021, allocations: 0.6991 MB / 1.191 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001039/0.005125, allocations: 74.95 kB / 1.191 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0005045/0.00563, allocations: 0.5221 MB / 1.191 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002157/0.005845, allocations: 183.7 kB / 1.192 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0006565/0.006502, allocations: 0.5063 MB / 1.192 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001781/0.00668, allocations: 174.2 kB / 1.192 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001276/0.006807, allocations: 132.2 kB / 1.192 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002672/0.007075, allocations: 237.5 kB / 1.193 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.851e-05/0.007163, allocations: 50.02 kB / 1.193 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001406/0.007304, allocations: 139.6 kB / 1.193 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000243/0.007547, allocations: 193.2 kB / 1.193 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000313/0.00786, allocations: 348.4 kB / 1.193 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004171/0.008277, allocations: 333.4 kB / 1.194 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003999/0.008677, allocations: 471.6 kB / 1.194 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.691e-05/0.008694, allocations: 13 kB / 1.194 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.228e-05/0.008766, allocations: 78.11 kB / 1.194 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000446/0.009212, allocations: 292.6 kB / 1.194 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.41e-05/0.009226, allocations: 15.28 kB / 1.194 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.009226, allocations: 0 / 1.194 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 8.675e-05/0.009313, allocations: 102.2 kB / 1.194 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.102e-06/0.009319, allocations: 9 kB / 1.194 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.35e-06/0.009325, allocations: 7.281 kB / 1.195 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.107e-06/0.009334, allocations: 2.906 kB / 1.195 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000272/0.009606, allocations: 228.9 kB / 1.195 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001911/0.009797, allocations: 0.6753 MB / 1.195 GB, free: 7.707 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 3 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ............................. 3 (3) {intDef.y, intWitRes1.y, intWitRes2.y} * Number of discrete states: .................... 1 (1) {booleanPulse.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {intWitRes1.trigger, $TEV_4, $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: ........... 10 (scalar:10, 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: ........... 20 (scalar:20, 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 8.076e-05/0.009878, allocations: 27.66 kB / 1.195 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007522/0.01063, allocations: 0.5537 MB / 1.196 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of Templates: time 0.004963/0.01559, allocations: 1.838 MB / 1.198 GB, free: 7.121 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 7.916738506988622] Failed to read output from testmodel.py, exit status != 0: 0.02228466799715534 0.034889627 0.027972926000000002 Calling exit ...