Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_latest_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_latest_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.001239/0.001239, allocations: 106.6 kB / 16.42 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.001142/0.001142, 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.18/1.18, 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.253/2.253, allocations: 472.6 MB / 0.7459 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.039e-05, allocations: 6.219 kB / 1.07 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001314/0.001344, allocations: 0.7139 MB / 1.071 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.002666, allocations: 1.256 MB / 1.072 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.002716, allocations: 0 / 1.072 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.002749, allocations: 3.938 kB / 1.072 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.568e-05/0.00283, allocations: 23.84 kB / 1.072 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.003548, allocations: 317.4 kB / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.003838, allocations: 279.6 kB / 1.073 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.003925, allocations: 16.19 kB / 1.073 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.004051, allocations: 95.8 kB / 1.073 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.004189, allocations: 99.67 kB / 1.073 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.00424, allocations: 28 kB / 1.073 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.939e-05/0.004324, allocations: 31.98 kB / 1.073 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001381/0.004468, allocations: 194.7 kB / 1.073 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.87e-05/0.004502, allocations: 66.97 kB / 1.073 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.004548, allocations: 20 kB / 1.073 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.265e-05/0.004565, allocations: 0 / 1.073 GB, free: 6.543 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.0006372/0.005206, allocations: 0.6714 MB / 1.074 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.105e-05/0.005223, allocations: 3.953 kB / 1.074 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0006558/0.005883, allocations: 0.7068 MB / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of simplify1: time 8.977e-06/0.0059, allocations: 4 kB / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004314/0.006336, allocations: 353.3 kB / 1.075 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of simplify2: time 6.331e-06/0.006351, allocations: 4 kB / 1.075 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004909/0.006846, allocations: 395.8 kB / 1.075 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of Events: time 0.0005721/0.007426, allocations: 0.5084 MB / 1.076 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.568e-05/0.00749, allocations: 40.11 kB / 1.076 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002135/0.00771, allocations: 203.8 kB / 1.076 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004661/0.008184, allocations: 0.547 MB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007084/0.008899, allocations: 0.7862 MB / 1.077 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.271e-05/0.00893, allocations: 24.12 kB / 1.077 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.742e-05/0.008951, allocations: 15.92 kB / 1.077 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003866/0.009342, allocations: 358.4 kB / 1.078 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of Tearing: time 7.735e-06/0.009358, allocations: 0 / 1.078 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of Initialization: time 3.41e-07/0.009364, allocations: 4 kB / 1.078 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of Tearing: time 2.235e-06/0.009373, allocations: 7.938 kB / 1.078 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of Categorize: time 6.462e-06/0.009383, allocations: 3.938 kB / 1.078 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of Solve: time 4.369e-05/0.009431, allocations: 23.97 kB / 1.078 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.575e-06/0.009438, allocations: 0 / 1.078 GB, free: 1.613 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: ................. 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 3.201e-05/0.009474, allocations: 28.89 kB / 1.078 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0006843/0.01016, allocations: 1.066 MB / 1.079 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.3859/0.396, allocations: 2.935 MB / 1.082 GB, free: 15.24 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)