Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001116/0.001116, allocations: 109.1 kB / 16.42 MB, free: 6.473 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.001083/0.001083, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.178/1.178, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.989/1.989, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.612e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001417/0.001443, allocations: 0.8452 MB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.002842, allocations: 1.284 MB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.002901, allocations: 0 / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.002939, allocations: 11.86 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.003038, allocations: 31.72 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.003716, allocations: 322.6 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.004019, allocations: 323.4 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004133, allocations: 45.44 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.004245, allocations: 115.7 kB / 0.9544 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.004383, allocations: 111.7 kB / 0.9545 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.004428, allocations: 28 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.004506, allocations: 39.98 kB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001809/0.004693, allocations: 253.7 kB / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 5.03e-05/0.004749, allocations: 118.2 kB / 0.9549 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.004804, allocations: 27.94 kB / 0.9549 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.489e-05/0.004823, allocations: 7.938 kB / 0.9549 GB, free: 4.109 MB / 0.7325 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.0007681/0.005595, allocations: 0.8436 MB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.853e-05/0.005619, allocations: 11.98 kB / 0.9557 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0007397/0.006363, allocations: 0.8083 MB / 0.9565 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simplify1: time 1.337e-05/0.006384, allocations: 11.98 kB / 0.9565 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of Alias: time 0.0006634/0.007053, allocations: 0.62 MB / 0.9572 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simplify2: time 1.194e-05/0.007074, allocations: 11.98 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0003867/0.007465, allocations: 405 kB / 0.9576 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of Events: time 0.0005864/0.008061, allocations: 0.5043 MB / 0.958 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of Partitioning: time 7.324e-05/0.008144, allocations: 76.09 kB / 0.9581 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002897/0.008439, allocations: 274.6 kB / 0.9584 GB, free: 300 kB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.000511/0.008959, allocations: 0.6015 MB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Inline: time 0.0008017/0.009768, allocations: 0.908 MB / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of Partitioning: time 3.372e-05/0.00981, allocations: 32.11 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of Cleanup: time 2.037e-05/0.009836, allocations: 19.95 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0005266/0.01037, allocations: 0.4934 MB / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of Tearing: time 8.616e-06/0.01038, allocations: 0 / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of Initialization: time 3.2e-07/0.01039, allocations: 0 / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of Tearing: time 1.403e-06/0.01039, allocations: 0 / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of Categorize: time 5.169e-06/0.0104, allocations: 0 / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of Solve: time 6.593e-05/0.01047, allocations: 48.14 kB / 0.9604 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of Jacobian: time 2.324e-06/0.01048, allocations: 3.938 kB / 0.9604 GB, free: 14.12 MB / 0.7481 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.277e-05/0.01052, allocations: 26.7 kB / 0.9605 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of SimCode: time 0.0007137/0.01124, allocations: 1.167 MB / 0.9616 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.004821/0.01607, allocations: 3.127 MB / 0.9647 GB, free: 9.785 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1)