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.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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000913/0.000913, allocations: 115.9 kB / 16.43 MB, free: 6.523 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.0008715/0.0008714, allocations: 182 kB / 17.36 MB, free: 5.746 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.123/1.123, allocations: 222.9 MB / 241 MB, free: 15.16 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.225/2.225, allocations: 469.8 MB / 0.7432 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.023e-05, allocations: 2.281 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001329/0.001349, allocations: 0.7943 MB / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002581, allocations: 1.158 MB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.002632, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.002666, allocations: 3.938 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.002729, allocations: 7.875 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.003153, allocations: 135.1 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.003327, allocations: 143.7 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.003404, allocations: 12 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.00348, allocations: 51.78 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.003562, allocations: 55.86 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.00359, allocations: 8 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.003654, allocations: 27.98 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001054/0.003765, allocations: 126.8 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.673e-05/0.003798, allocations: 63.06 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.00383, allocations: 12 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.167e-06/0.003843, allocations: 0 / 1.068 GB, free: 10.99 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0004137/0.004261, allocations: 399.5 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.796e-05/0.004285, allocations: 15.89 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002902/0.004579, allocations: 284.1 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simplify1: time 7.81e-05/0.004665, allocations: 92.36 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002932/0.004965, allocations: 193.4 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of simplify2: time 6.909e-05/0.005045, allocations: 92.28 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002369/0.005288, allocations: 134.6 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of Events: time 0.0002828/0.005579, allocations: 219.5 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.763e-05/0.005645, allocations: 48.09 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001894/0.005839, allocations: 148.2 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002127/0.00606, allocations: 248.2 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of Inline: time 0.000333/0.006399, allocations: 368 kB / 1.071 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.925e-05/0.006427, allocations: 12.41 kB / 1.071 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of Cleanup: time 5.595e-05/0.006488, allocations: 67.86 kB / 1.071 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002452/0.006737, allocations: 192 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of Tearing: time 7.454e-06/0.006753, allocations: 0 / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of Initialization: time 3.41e-07/0.006759, allocations: 4 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of Tearing: time 1.362e-06/0.006764, allocations: 0 / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of Categorize: time 8.346e-06/0.006776, allocations: 7.922 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of Solve: time 5.037e-05/0.00683, allocations: 27.91 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.244e-06/0.006838, allocations: 0 / 1.071 GB, free: 8.141 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: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12} * 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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.302e-05/0.006874, allocations: 35.34 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of SimCode: time 0.000578/0.007456, allocations: 0.9424 MB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of Templates: time 0.003107/0.01057, allocations: 1.444 MB / 1.073 GB, free: 5.703 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1)