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 2.039/2.039, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001246/0.001246, allocations: 187.6 kB / 371.8 MB, free: 10.24 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.873/1.873, allocations: 205.4 MB / 0.6306 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009508/0.0009507, allocations: 94.92 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004301, allocations: 21.06 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8012/1.053, allocations: 138.3 MB / 1.114 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.053, allocations: 70.23 kB / 1.115 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006907/1.06, allocations: 2.228 MB / 1.117 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.063e-06/1.06, allocations: 0 / 1.117 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.06, allocations: 3.969 kB / 1.117 GB, free: 32.07 MB / 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.00059/1.061, allocations: 422.9 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.061, allocations: 15.52 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/1.061, allocations: 3.875 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.061, allocations: 177.7 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/1.061, allocations: 3.875 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/1.061, allocations: 10.75 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/1.062, allocations: 94 kB / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.062, allocations: 0 / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.062, allocations: 10.08 kB / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/1.062, allocations: 0 / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/1.062, allocations: 86.66 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/1.062, allocations: 336.9 kB / 1.118 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/1.063, allocations: 65.27 kB / 1.118 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/1.063, allocations: 3.875 kB / 1.118 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/1.063, allocations: 104.1 kB / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/1.063, allocations: 3.844 kB / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005666/1.063, allocations: 196.9 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.064, allocations: 55.34 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/1.064, allocations: 118.8 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/1.064, allocations: 29.58 kB / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/1.064, allocations: 98.83 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/1.064, allocations: 13.09 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/1.064, allocations: 3.688 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.064, allocations: 325 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/1.064, allocations: 68.03 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/1.064, allocations: 96.05 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/1.064, allocations: 101 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.065, allocations: 3.938 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004777/1.065, allocations: 233 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/1.065, allocations: 32.14 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.065, allocations: 3.875 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.065, allocations: 0 / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.065, allocations: 29.58 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.065, allocations: 7.812 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/1.065, allocations: 47.66 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/1.066, allocations: 3.844 kB / 1.119 GB, free: 30.21 MB / 0.698 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 () * Number of clocked 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 9.604e-05/1.066, allocations: 130.7 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/1.066, allocations: 7.719 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/1.066, allocations: 7.125 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.066, allocations: 0 / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.066, allocations: 3.875 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.066, allocations: 0 / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/1.066, allocations: 188.2 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.066, allocations: 0 / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.066, allocations: 24.91 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.066, allocations: 0 / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/1.066, allocations: 0 / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.066, allocations: 4.156 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.066, allocations: 0 / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/1.066, allocations: 177.2 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/1.066, allocations: 94.62 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/1.066, allocations: 4 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/1.066, allocations: 17.23 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/1.067, allocations: 9.266 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/1.067, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.209e-05/1.067, allocations: 96.27 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.067, allocations: 0 / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002124/1.067, allocations: 26.56 kB / 1.12 GB, free: 29.62 MB / 0.698 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 () * 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.0001836/1.067, allocations: 113 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004584/1.068, allocations: 209.5 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.068, allocations: 0 / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/1.068, allocations: 57.45 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/1.068, allocations: 23.78 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/1.068, allocations: 179.2 kB / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/1.069, allocations: 0.6964 MB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.739e-05/1.069, allocations: 10.84 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/1.069, allocations: 7.438 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.069, allocations: 0 / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of Templates: time 0.003532/1.072, allocations: 1.342 MB / 1.123 GB, free: 28.47 MB / 0.698 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)