Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.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.001379/0.001379, 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.001553/0.001553, allocations: 216.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.459/1.459, allocations: 230.7 MB / 256.9 MB, free: 7.77 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.716/2.716, allocations: 476 MB / 0.7708 GB, free: 4.723 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.375e-05, allocations: 2.938 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001704/0.001727, allocations: 0.7701 MB / 1.119 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003004, allocations: 1.168 MB / 1.12 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.003048, allocations: 0.5312 kB / 1.12 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.003079, allocations: 12.16 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.003144, allocations: 17.73 kB / 1.12 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.003584, allocations: 131.7 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.003769, allocations: 134.7 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.003862, allocations: 14.42 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.003949, allocations: 52.83 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.004031, allocations: 48.81 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.004054, allocations: 13 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.004113, allocations: 27.23 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001178/0.004231, allocations: 156 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.552e-05/0.004256, allocations: 74.17 kB / 1.121 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.004287, allocations: 8.156 kB / 1.121 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.21e-05/0.004299, allocations: 3.094 kB / 1.121 GB, free: 40.86 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004803/0.00478, allocations: 0.5119 MB / 1.121 GB, free: 40.51 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.679e-05/0.004826, allocations: 53.05 kB / 1.121 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003368/0.005163, allocations: 392.7 kB / 1.121 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001357/0.005299, allocations: 161.5 kB / 1.122 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004268/0.005726, allocations: 347 kB / 1.122 GB, free: 40.15 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001336/0.005859, allocations: 161.4 kB / 1.122 GB, free: 40.06 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.16e-05/0.005951, allocations: 119.4 kB / 1.122 GB, free: 40 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001914/0.006142, allocations: 190.7 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001049/0.006247, allocations: 65.09 kB / 1.122 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001088/0.006356, allocations: 86.41 kB / 1.123 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001872/0.006543, allocations: 146.8 kB / 1.123 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001976/0.00674, allocations: 309.6 kB / 1.123 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002769/0.007017, allocations: 272.1 kB / 1.123 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002713/0.007289, allocations: 424.4 kB / 1.124 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.447e-05/0.007303, allocations: 11.75 kB / 1.124 GB, free: 39.57 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.433e-05/0.007357, allocations: 61.44 kB / 1.124 GB, free: 39.54 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002592/0.007617, allocations: 204.9 kB / 1.124 GB, free: 39.5 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.29e-05/0.00763, allocations: 10.53 kB / 1.124 GB, free: 39.49 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.00763, allocations: 0 / 1.124 GB, free: 39.49 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 7.507e-05/0.007705, allocations: 50.31 kB / 1.124 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.548e-06/0.00771, allocations: 0 / 1.124 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.54e-06/0.007715, allocations: 12.56 kB / 1.124 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.833e-06/0.007722, allocations: 2.25 kB / 1.124 GB, free: 39.46 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001728/0.007895, allocations: 152.5 kB / 1.124 GB, free: 39.42 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.78e-05/0.007992, allocations: 184.4 kB / 1.124 GB, free: 39.22 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: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$TEV_5, $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: ........... 9 (scalar:9, 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: ........... 10 (scalar:10, 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 4.209e-05/0.008035, allocations: 22.03 kB / 1.124 GB, free: 39.22 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005567/0.008591, allocations: 376 kB / 1.125 GB, free: 39.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.003904/0.0125, allocations: 1.483 MB / 1.126 GB, free: 38.95 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 8.307106753985863] Failed to read output from testmodel.py, exit status != 0: 0.586213298025541 0.029277703000000002 0.022793443 Calling exit ...