Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001511, allocations: 184.4 kB / 361.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.3 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009002/0.0009003, allocations: 98.7 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/3.01e-05, allocations: 8 kB / 0.8518 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6786, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.8532, allocations: 137.5 MB / 1.099 GB, free: 2.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.8535, allocations: 72.61 kB / 1.099 GB, free: 2.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006491/0.86, allocations: 2.208 MB / 1.101 GB, free: 48 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.86, allocations: 0 / 1.101 GB, free: 48 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.86, allocations: 0 / 1.101 GB, free: 48 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005685/0.8606, allocations: 418.3 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8607, allocations: 8.031 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.8607, allocations: 16.94 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.8609, allocations: 171 kB / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.8609, allocations: 0 / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.8609, allocations: 8 kB / 1.102 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.588e-05/0.861, allocations: 27.92 kB / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.8612, allocations: 53.67 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8612, allocations: 0 / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.8612, allocations: 0 / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8612, allocations: 0 / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.8617, allocations: 305.2 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/0.8618, allocations: 37.08 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.8618, allocations: 16.86 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.8618, allocations: 2.203 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.862, allocations: 67.48 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.862, allocations: 7.938 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001974/0.8622, allocations: 69.69 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.8622, allocations: 55.41 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.8624, allocations: 116.6 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.8624, allocations: 25.7 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.8625, allocations: 92.12 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.8625, allocations: 19.75 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.8625, allocations: 3.938 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8627, allocations: 330.8 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.8628, allocations: 28 kB / 1.103 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.8628, allocations: 58.56 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.8631, allocations: 37.61 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8631, allocations: 0 / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003484/0.8634, allocations: 141.5 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.8635, allocations: 34.8 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8635, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8635, allocations: 6.938 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.8637, allocations: 25.66 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8637, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.8639, allocations: 56.02 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.864, allocations: 8 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 8.533e-05/0.8641, allocations: 108.9 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.8641, allocations: 11.89 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.8641, allocations: 16.62 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.8641, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8641, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8641, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.8643, allocations: 158.2 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8643, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8644, allocations: 19.98 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.8644, allocations: 3.984 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.8644, allocations: 4 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8644, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.8645, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.8646, allocations: 101 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.8647, allocations: 87.88 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8647, allocations: 4.875 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.8648, allocations: 23.97 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.8648, allocations: 7.938 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.8649, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.8649, allocations: 105.4 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8649, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000232/0.8652, allocations: 20 kB / 1.104 GB, free: 12.9 MB / 0.7136 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,$whenCondition2,booPul.y) * Number of discrete 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.000177/0.8654, allocations: 116.4 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.8656, allocations: 138.7 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8656, allocations: 8 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.8657, allocations: 24 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.8659, allocations: 4 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.8661, allocations: 90.27 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.8664, allocations: 0.6929 MB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.8665, allocations: 12.17 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.8665, allocations: 7.438 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.8665, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.003564/0.8701, allocations: 1.237 MB / 1.106 GB, free: 10.58 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)