Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001015/0.001015, allocations: 190 kB / 17.36 MB, free: 5.699 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.12 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.977/1.977, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.723e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Switch): time 0.001531/0.00156, allocations: 0.7983 MB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.003156, allocations: 1.14 MB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.003216, allocations: 0 / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.003252, allocations: 3.938 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.003332, allocations: 15.8 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.003793, allocations: 139.3 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.003966, allocations: 135.8 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.004065, allocations: 19.98 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.004156, allocations: 59.83 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.004239, allocations: 47.81 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.004268, allocations: 12 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.004338, allocations: 27.97 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001077/0.004451, allocations: 118.9 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.664e-05/0.004483, allocations: 59.12 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.004516, allocations: 11.94 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.158e-05/0.004532, allocations: 0 / 0.954 GB, free: 5.008 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.0004767/0.005013, allocations: 487.5 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.75e-05/0.005036, allocations: 7.938 kB / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003599/0.0054, allocations: 368.1 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simplify1: time 1.335e-05/0.005422, allocations: 11.98 kB / 0.9549 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003523/0.005779, allocations: 261.4 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simplify2: time 1.175e-05/0.0058, allocations: 11.98 kB / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0003034/0.006108, allocations: 160 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of Events: time 0.0002974/0.006414, allocations: 223.5 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of Partitioning: time 7.402e-05/0.006497, allocations: 56.09 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002301/0.006733, allocations: 188 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002737/0.007016, allocations: 332.1 kB / 0.956 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of Inline: time 0.0004201/0.007442, allocations: 482.6 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.681e-05/0.007467, allocations: 16.12 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.548e-05/0.007488, allocations: 15.98 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of Causalize: time 0.000311/0.007804, allocations: 279.6 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of Tearing: time 8.516e-06/0.007821, allocations: 0 / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of Initialization: time 5.82e-07/0.007826, allocations: 0 / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of Tearing: time 1.162e-06/0.00783, allocations: 0 / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of Categorize: time 8.546e-06/0.007842, allocations: 4 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of Solve: time 5.2e-05/0.007898, allocations: 27.91 kB / 0.9568 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.735e-06/0.007907, allocations: 0 / 0.9568 GB, free: 1.848 MB / 0.7325 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.23e-05/0.007945, allocations: 22.34 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006668/0.008616, allocations: 0.9541 MB / 0.9578 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of Templates: time 0.003315/0.01194, allocations: 1.437 MB / 0.9592 GB, free: 15.42 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe 2>&1)