Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 113.2 kB / 16.43 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 179.2 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.098/1.098, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.136/2.136, allocations: 469.8 MB / 0.7432 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.668e-06/9.699e-06, allocations: 4.391 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001297/0.001316, allocations: 0.8249 MB / 1.067 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.002584, allocations: 1.291 MB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.002638, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.002675, allocations: 15.75 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.002747, allocations: 19.8 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.00339, allocations: 327.8 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.003666, allocations: 307.5 kB / 1.069 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.003756, allocations: 25.44 kB / 1.069 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.003865, allocations: 115.8 kB / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.003986, allocations: 111.7 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.004036, allocations: 28 kB / 1.069 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.149e-05/0.004123, allocations: 39.98 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001728/0.004301, allocations: 261.7 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.455e-05/0.004361, allocations: 118.2 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.004404, allocations: 27.94 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.577e-05/0.004425, allocations: 15.81 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (19) Notification: Performance of Bindings: time 0.0006397/0.005069, allocations: 0.6484 MB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.411e-05/0.005091, allocations: 15.94 kB / 1.07 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0006144/0.005709, allocations: 0.5974 MB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001451/0.005862, allocations: 184.2 kB / 1.071 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of Alias: time 0.0005558/0.006424, allocations: 462.4 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001379/0.006571, allocations: 180.7 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003364/0.006913, allocations: 319.8 kB / 1.072 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of Events: time 0.0005583/0.007478, allocations: 0.5005 MB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.836e-05/0.007555, allocations: 52.09 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002505/0.007811, allocations: 203.1 kB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003971/0.008215, allocations: 448 kB / 1.073 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of Inline: time 0.0006593/0.00888, allocations: 0.6687 MB / 1.073 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.09e-05/0.008909, allocations: 20.06 kB / 1.073 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001192/0.009033, allocations: 127.8 kB / 1.074 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004132/0.009451, allocations: 350.1 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of Tearing: time 6.352e-06/0.009465, allocations: 0 / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of Initialization: time 3.31e-07/0.009471, allocations: 0 / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of Tearing: time 1.243e-06/0.009475, allocations: 0 / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of Categorize: time 8.416e-06/0.009487, allocations: 7.938 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of Solve: time 5.808e-05/0.009548, allocations: 36.14 kB / 1.074 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.384e-06/0.009557, allocations: 4 kB / 1.074 GB, free: 4.938 MB / 0.8419 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: .................... 3 (3) {booPul3.y, booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 11 (11) {integerSwitch.y, booToInt.y, proInt.y, booToInt1.y, proInt1.y, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.288e-05/0.009593, allocations: 31.97 kB / 1.074 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0007334/0.01033, allocations: 1.169 MB / 1.075 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of Templates: time 0.004777/0.01512, allocations: 3.124 MB / 1.078 GB, free: 0.6055 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1)