Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001453/0.001453, 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.001596/0.001596, allocations: 216.2 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.336/1.336, allocations: 230.7 MB / 256.9 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.921/2.921, allocations: 0.4893 GB / 0.7952 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.579e-05, allocations: 2.281 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001572/0.001588, allocations: 0.7783 MB / 1.155 GB, free: 24.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.002791, allocations: 1.169 MB / 1.156 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.002839, allocations: 6.375 kB / 1.156 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.002865, allocations: 5.062 kB / 1.156 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.00294, allocations: 13.48 kB / 1.156 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.003398, allocations: 135.4 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.00359, allocations: 131.6 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003692, allocations: 10.86 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.003779, allocations: 53.88 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.003875, allocations: 53.8 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.003909, allocations: 11.47 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.003988, allocations: 28.12 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001377/0.004126, allocations: 154.9 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.329e-05/0.004159, allocations: 75.08 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.004193, allocations: 7.938 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.304e-05/0.004206, allocations: 5.328 kB / 1.157 GB, free: 23.77 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.0005819/0.004788, allocations: 0.5142 MB / 1.158 GB, free: 23.31 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.557e-05/0.004833, allocations: 42.27 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004088/0.005242, allocations: 392.2 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001922/0.005434, allocations: 170.5 kB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005183/0.005952, allocations: 335.8 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001714/0.006124, allocations: 167.1 kB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001181/0.006242, allocations: 120.8 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002333/0.006475, allocations: 194.6 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001136/0.006589, allocations: 64.44 kB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001221/0.006711, allocations: 84.02 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002319/0.006943, allocations: 147.8 kB / 1.159 GB, free: 22.15 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002875/0.00723, allocations: 308.5 kB / 1.159 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003453/0.007576, allocations: 274.9 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003512/0.007927, allocations: 418.2 kB / 1.16 GB, free: 21.6 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.221e-05/0.007939, allocations: 12.41 kB / 1.16 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.514e-05/0.007994, allocations: 67.44 kB / 1.16 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003151/0.008309, allocations: 203.5 kB / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.047e-05/0.00832, allocations: 5.938 kB / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.052e-06/0.008321, allocations: 0.9688 kB / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 7.208e-05/0.008393, allocations: 50.03 kB / 1.16 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.397e-06/0.008396, allocations: 0 / 1.16 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.847e-06/0.0084, allocations: 6.5 kB / 1.16 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.911e-06/0.008406, allocations: 1.125 kB / 1.16 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002016/0.008608, allocations: 167.3 kB / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001015/0.008709, allocations: 184.2 kB / 1.161 GB, free: 21.2 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 3.591e-05/0.008745, allocations: 27.09 kB / 1.161 GB, free: 21.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005449/0.00929, allocations: 378.6 kB / 1.161 GB, free: 20.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.004503/0.01379, allocations: 1.487 MB / 1.163 GB, free: 20.77 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.685862406040542] Failed to read output from testmodel.py, exit status != 0: 0.02109620801638812 0.03308345 0.026596946000000003 Calling exit ...