Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.699/2.699, allocations: 284.8 MB / 297.3 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002029/0.002028, allocations: 180.1 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001047, allocations: 97.86 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.645e-05/4.662e-05, allocations: 12 kB / 0.8575 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8277, allocations: 115.2 MB / 0.97 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/1.129, allocations: 138.1 MB / 1.105 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.13, allocations: 71.97 kB / 1.105 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01096/1.141, allocations: 2.219 MB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/1.141, allocations: 0 / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.141, allocations: 0.75 kB / 1.107 GB, free: 12.14 MB / 0.7136 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.0007303/1.141, allocations: 418.1 kB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.141, allocations: 11.5 kB / 1.107 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/1.141, allocations: 9.109 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.142, allocations: 174.9 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/1.142, allocations: 8 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/1.142, allocations: 8 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/1.142, allocations: 49.69 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.142, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.142, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/1.142, allocations: 6.453 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/1.142, allocations: 24 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/1.143, allocations: 335 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/1.143, allocations: 35.27 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/1.143, allocations: 20.86 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/1.143, allocations: 0 / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/1.143, allocations: 75.41 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 5.811e-06/1.143, allocations: 3.984 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002865/1.143, allocations: 81.62 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/1.143, allocations: 55.36 kB / 1.108 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.144, allocations: 114.6 kB / 1.108 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/1.144, allocations: 41.69 kB / 1.108 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/1.144, allocations: 88.14 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/1.144, allocations: 11.81 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/1.144, allocations: 4 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.144, allocations: 318.8 kB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/1.144, allocations: 36 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/1.144, allocations: 64.38 kB / 1.109 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/1.144, allocations: 57.69 kB / 1.109 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.144, allocations: 4 kB / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004555/1.145, allocations: 169.3 kB / 1.109 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/1.145, allocations: 38.31 kB / 1.109 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.145, allocations: 0 / 1.109 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.145, allocations: 0 / 1.109 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/1.145, allocations: 28.05 kB / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.145, allocations: 0 / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/1.146, allocations: 59.84 kB / 1.109 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/1.146, allocations: 11.98 kB / 1.109 GB, free: 9.59 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 0.0001054/1.146, allocations: 111.7 kB / 1.109 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/1.146, allocations: 7.906 kB / 1.109 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/1.146, allocations: 8.625 kB / 1.109 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.146, allocations: 3.938 kB / 1.109 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.146, allocations: 4 kB / 1.109 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.146, allocations: 5.484 kB / 1.109 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/1.146, allocations: 177.6 kB / 1.11 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.146, allocations: 2.25 kB / 1.11 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/1.147, allocations: 27.98 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.147, allocations: 0 / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.147, allocations: 3.984 kB / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.147, allocations: 0 / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.147, allocations: 0 / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/1.147, allocations: 107.1 kB / 1.11 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/1.147, allocations: 89.02 kB / 1.11 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/1.147, allocations: 0 / 1.11 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.147, allocations: 23.91 kB / 1.11 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/1.147, allocations: 4 kB / 1.11 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.147, allocations: 3.938 kB / 1.11 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.651e-05/1.147, allocations: 100.5 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.147, allocations: 0 / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003113/1.148, allocations: 24 kB / 1.11 GB, free: 8.816 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.0001972/1.148, allocations: 119.2 kB / 1.11 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003709/1.148, allocations: 139.3 kB / 1.11 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.148, allocations: 0 / 1.11 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/1.148, allocations: 24 kB / 1.11 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/1.149, allocations: 13.39 kB / 1.11 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/1.149, allocations: 100.2 kB / 1.11 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/1.149, allocations: 0.6926 MB / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.295e-05/1.149, allocations: 5.438 kB / 1.111 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/1.149, allocations: 11.44 kB / 1.111 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/1.149, allocations: 0 / 1.111 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of Templates: time 0.005478/1.155, allocations: 1.335 MB / 1.112 GB, free: 6.371 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)