Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.185/2.185, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 183.6 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009342/0.000934, allocations: 97.84 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007671/0.0007672, allocations: 11.66 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2154, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.4425, allocations: 131.6 MB / 1.028 GB, free: 13.78 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.4429, allocations: 67.97 kB / 1.028 GB, free: 13.71 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.004915/0.4478, allocations: 1.112 MB / 1.029 GB, free: 12.6 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4479, allocations: 4 kB / 1.029 GB, free: 12.59 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.4479, allocations: 0 / 1.029 GB, free: 12.59 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008227/0.4487, allocations: 391.3 kB / 1.03 GB, free: 12.16 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4488, allocations: 20.02 kB / 1.03 GB, free: 12.14 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.4488, allocations: 8.844 kB / 1.03 GB, free: 12.13 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.449, allocations: 172.3 kB / 1.03 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4491, allocations: 4.375 kB / 1.03 GB, free: 11.92 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.4491, allocations: 8.375 kB / 1.03 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.4495, allocations: 94.14 kB / 1.03 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4495, allocations: 192 / 1.03 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4496, allocations: 3.938 kB / 1.03 GB, free: 11.81 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4496, allocations: 0 / 1.03 GB, free: 11.81 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.4502, allocations: 95.92 kB / 1.03 GB, free: 11.72 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.4508, allocations: 292.7 kB / 1.03 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.4512, allocations: 74.47 kB / 1.03 GB, free: 11.3 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.4515, allocations: 60.89 kB / 1.03 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4516, allocations: 3.984 kB / 1.03 GB, free: 11.23 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.452, allocations: 99.36 kB / 1.03 GB, free: 11.12 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=6): time 3.396e-06/0.4521, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6824 GB Notification: Performance of matching and sorting (n=6): time 0.001069/0.4531, allocations: 185.5 kB / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.4532, allocations: 59.34 kB / 1.031 GB, free: 10.87 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4534, allocations: 113.8 kB / 1.031 GB, free: 10.75 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.4534, allocations: 33.7 kB / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.4535, allocations: 96.19 kB / 1.031 GB, free: 10.61 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.4536, allocations: 19.75 kB / 1.031 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.4536, allocations: 0 / 1.031 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4537, allocations: 322.8 kB / 1.031 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.4541, allocations: 47.97 kB / 1.031 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.4544, allocations: 61.67 kB / 1.031 GB, free: 10.15 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.4547, allocations: 51.97 kB / 1.031 GB, free: 10.1 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4547, allocations: 0 / 1.031 GB, free: 10.1 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000708/0.4555, allocations: 141.5 kB / 1.031 GB, free: 9.957 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4555, allocations: 8 kB / 1.031 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4555, allocations: 0 / 1.031 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4555, allocations: 0 / 1.031 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.4558, allocations: 24.02 kB / 1.032 GB, free: 9.926 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4558, allocations: 4 kB / 1.032 GB, free: 9.922 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.4561, allocations: 31.91 kB / 1.032 GB, free: 9.891 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4561, allocations: 0 / 1.032 GB, free: 9.891 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.4562, allocations: 117.8 kB / 1.032 GB, free: 9.766 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.4563, allocations: 11.91 kB / 1.032 GB, free: 9.754 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.4564, allocations: 16.3 kB / 1.032 GB, free: 9.734 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4564, allocations: 4 kB / 1.032 GB, free: 9.73 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4564, allocations: 3.984 kB / 1.032 GB, free: 9.727 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4564, allocations: 0 / 1.032 GB, free: 9.727 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.4566, allocations: 181.9 kB / 1.032 GB, free: 9.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4567, allocations: 4 kB / 1.032 GB, free: 9.496 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.4569, allocations: 23.97 kB / 1.032 GB, free: 9.473 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4569, allocations: 4 kB / 1.032 GB, free: 9.469 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4569, allocations: 0 / 1.032 GB, free: 9.469 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4569, allocations: 0 / 1.032 GB, free: 9.469 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4569, allocations: 4 kB / 1.032 GB, free: 9.465 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.4577, allocations: 168.9 kB / 1.032 GB, free: 9.281 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.4577, allocations: 84.95 kB / 1.032 GB, free: 9.18 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.4578, allocations: 0 / 1.032 GB, free: 9.18 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.458, allocations: 31.97 kB / 1.032 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.4581, allocations: 11.92 kB / 1.032 GB, free: 9.137 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4581, allocations: 4 kB / 1.032 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.4582, allocations: 95.27 kB / 1.032 GB, free: 9.039 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4582, allocations: 0 / 1.032 GB, free: 9.039 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002543/0.4585, allocations: 12 kB / 1.032 GB, free: 9.027 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.4586, allocations: 99.25 kB / 1.032 GB, free: 8.922 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0006857/0.4593, allocations: 107.9 kB / 1.032 GB, free: 8.816 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4594, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.4597, allocations: 59.89 kB / 1.033 GB, free: 8.758 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.4601, allocations: 19.98 kB / 1.033 GB, free: 8.738 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.4606, allocations: 178.4 kB / 1.033 GB, free: 8.535 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.461, allocations: 0.6887 MB / 1.033 GB, free: 7.82 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 6.909e-05/0.461, allocations: 8 kB / 1.033 GB, free: 7.812 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.4611, allocations: 11.44 kB / 1.033 GB, free: 7.801 MB / 0.6824 GB Notification: Performance of SimCode: time 9.12e-07/0.4611, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6824 GB Notification: Performance of Templates: time 0.004277/0.4654, allocations: 0.8206 MB / 1.034 GB, free: 6.992 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)