Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001129/0.001129, allocations: 112.3 kB / 16.42 MB, free: 6.52 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.00113/0.00113, allocations: 187.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.211/1.211, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.311/2.311, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.619e-05, allocations: 2.281 kB / 1.07 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001498/0.001525, allocations: 0.8313 MB / 1.071 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.002942, allocations: 1.291 MB / 1.072 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.003003, allocations: 4 kB / 1.072 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.003043, allocations: 7.875 kB / 1.072 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.003123, allocations: 23.72 kB / 1.072 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.00386, allocations: 323.6 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.004172, allocations: 331.4 kB / 1.073 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004293, allocations: 45.42 kB / 1.073 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.004416, allocations: 115.8 kB / 1.073 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.004549, allocations: 107.7 kB / 1.073 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.004603, allocations: 28 kB / 1.073 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.004691, allocations: 35.98 kB / 1.073 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001867/0.004883, allocations: 261.7 kB / 1.073 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.978e-05/0.004939, allocations: 118.2 kB / 1.073 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.004986, allocations: 23.94 kB / 1.073 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.95e-05/0.005012, allocations: 15.88 kB / 1.074 GB, free: 6.109 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.0007856/0.005801, allocations: 0.8436 MB / 1.074 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.601e-05/0.005823, allocations: 15.94 kB / 1.074 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0007449/0.006572, allocations: 0.8005 MB / 1.075 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of simplify1: time 1.708e-05/0.006597, allocations: 19.97 kB / 1.075 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007242/0.007326, allocations: 0.6162 MB / 1.076 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of simplify2: time 1.152e-05/0.007347, allocations: 7.984 kB / 1.076 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004/0.007751, allocations: 413 kB / 1.076 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of Events: time 0.000579/0.008338, allocations: 0.5044 MB / 1.077 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.404e-05/0.008431, allocations: 64.11 kB / 1.077 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003039/0.00874, allocations: 279.1 kB / 1.077 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0005026/0.00925, allocations: 0.5937 MB / 1.078 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of Inline: time 0.0008209/0.01008, allocations: 0.912 MB / 1.078 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.011e-05/0.01012, allocations: 32.12 kB / 1.078 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.952e-05/0.01014, allocations: 19.92 kB / 1.078 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000549/0.01069, allocations: 0.4974 MB / 1.079 GB, free: 168 kB / 0.8419 GB Notification: Performance of Tearing: time 9.558e-06/0.01071, allocations: 4 kB / 1.079 GB, free: 164 kB / 0.8419 GB Notification: Performance of Initialization: time 3.5e-07/0.01072, allocations: 0 / 1.079 GB, free: 164 kB / 0.8419 GB Notification: Performance of Tearing: time 1.322e-06/0.01072, allocations: 0 / 1.079 GB, free: 164 kB / 0.8419 GB Notification: Performance of Categorize: time 9.287e-06/0.01074, allocations: 15.86 kB / 1.079 GB, free: 148 kB / 0.8419 GB Notification: Performance of Solve: time 8.369e-05/0.01083, allocations: 36.16 kB / 1.079 GB, free: 112 kB / 0.8419 GB Notification: Performance of Jacobian: time 2.926e-06/0.01084, allocations: 0 / 1.079 GB, free: 112 kB / 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.589e-05/0.01088, allocations: 25.16 kB / 1.079 GB, free: 92 kB / 0.8419 GB Notification: Performance of SimCode: time 0.4575/0.4684, allocations: 1.163 MB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.006614/0.475, allocations: 3.115 MB / 1.083 GB, free: 14.88 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1)