Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.0008559/0.0008559, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.106/1.106, 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 9.1.3-maint.9.1.x/package.mo): time 1.857/1.857, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.024e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001195/0.001215, allocations: 0.7128 MB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.002504, allocations: 1.261 MB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.00255, allocations: 4 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.002578, allocations: 7.875 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.00265, allocations: 23.84 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.003273, allocations: 305.3 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.003528, allocations: 279.6 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.003615, allocations: 28.17 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.003712, allocations: 103.7 kB / 0.9541 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.003826, allocations: 95.73 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.003871, allocations: 24 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.003941, allocations: 31.98 kB / 0.9543 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001308/0.004077, allocations: 186.7 kB / 0.9544 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.405e-05/0.004117, allocations: 67.02 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.004158, allocations: 23.94 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.031e-05/0.004172, allocations: 4 kB / 0.9545 GB, free: 4.547 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0005922/0.004768, allocations: 0.6675 MB / 0.9552 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.166e-05/0.004785, allocations: 7.891 kB / 0.9552 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0006411/0.005429, allocations: 0.6951 MB / 0.9559 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simplify1: time 1.056e-05/0.005448, allocations: 11.98 kB / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003932/0.005845, allocations: 357.3 kB / 0.9562 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simplify2: time 9.247e-06/0.005863, allocations: 11.98 kB / 0.9562 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0003567/0.006224, allocations: 387.9 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of Events: time 0.0005485/0.006779, allocations: 0.5044 MB / 0.9571 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.173e-05/0.006849, allocations: 48.11 kB / 0.9571 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002045/0.007058, allocations: 200.2 kB / 0.9573 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0004368/0.007502, allocations: 0.5433 MB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of Inline: time 0.0006641/0.008172, allocations: 0.8006 MB / 0.9586 GB, free: 48 kB / 0.7325 GB Notification: Performance of Partitioning: time 1.826e-05/0.008198, allocations: 20.12 kB / 0.9587 GB, free: 20 kB / 0.7325 GB Notification: Performance of Cleanup: time 1.258e-05/0.008217, allocations: 11.92 kB / 0.9587 GB, free: 8 kB / 0.7325 GB Notification: Performance of Causalize: time 0.0003663/0.008587, allocations: 357.1 kB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Tearing: time 7.094e-06/0.008603, allocations: 0 / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Initialization: time 3.81e-07/0.008608, allocations: 0 / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Tearing: time 1.172e-06/0.008613, allocations: 0 / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Categorize: time 4.628e-06/0.008622, allocations: 4 kB / 0.959 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of Solve: time 4.915e-05/0.008675, allocations: 23.92 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of Jacobian: time 3.497e-06/0.008683, allocations: 3.938 kB / 0.959 GB, free: 15.62 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: ................. 7 (7) {logicalSwitch.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: ........... 7 (scalar:7, 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: ........... 10 (scalar:10, 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 2.55e-05/0.008712, allocations: 23.09 kB / 0.9591 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 0.0005981/0.009314, allocations: 1.064 MB / 0.9601 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.004493/0.01382, allocations: 2.942 MB / 0.963 GB, free: 11.59 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)