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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.061/3.061, allocations: 287.5 MB / 302.5 MB, free: 8.148 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.001951/0.001951, allocations: 182.9 kB / 371 MB, free: 10.78 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.074/2.074, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 90.22 kB / 0.743 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005047, allocations: 14.53 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.958/1.192, allocations: 138 MB / 1.113 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.192, allocations: 69.48 kB / 1.113 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02054/1.213, allocations: 4.059 MB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.409e-06/1.213, allocations: 0 / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.446e-05/1.213, allocations: 3.938 kB / 1.117 GB, free: 31.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.0006259/1.214, allocations: 468 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.214, allocations: 11.41 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/1.214, allocations: 14.88 kB / 1.118 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.214, allocations: 173.4 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/1.214, allocations: 7.531 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/1.214, allocations: 20.62 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/1.214, allocations: 56.42 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.214, allocations: 0 / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.214, allocations: 0 / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/1.214, allocations: 3.844 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/1.214, allocations: 16.95 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/1.215, allocations: 426.2 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/1.215, allocations: 32 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/1.215, allocations: 3.312 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/1.215, allocations: 99.14 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/1.215, allocations: 0 / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004227/1.216, allocations: 139.9 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.216, allocations: 55.22 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.216, allocations: 132.1 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/1.216, allocations: 35.95 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.216, allocations: 92.59 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/1.216, allocations: 22.17 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/1.216, allocations: 15.31 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.216, allocations: 320.3 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/1.217, allocations: 88.02 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/1.217, allocations: 130.8 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/1.217, allocations: 169.5 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.217, allocations: 3.844 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009122/1.218, allocations: 372.7 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.218, allocations: 101.5 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/1.219, allocations: 3.812 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.219, allocations: 0 / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.475e-05/1.219, allocations: 8.125 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.219, allocations: 7.766 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/1.219, allocations: 106.4 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/1.22, allocations: 22.12 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001886/1.22, allocations: 133.1 kB / 1.12 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/1.22, allocations: 11.05 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/1.22, allocations: 7.625 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.22, allocations: 4.219 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.22, allocations: 0 / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.22, allocations: 3.953 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/1.22, allocations: 194 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.22, allocations: 3.938 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/1.22, allocations: 6.984 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.22, allocations: 0 / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/1.22, allocations: 0 / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.22, allocations: 7.781 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.22, allocations: 3.938 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/1.22, allocations: 134.8 kB / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/1.221, allocations: 85.77 kB / 1.121 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/1.221, allocations: 1.281 kB / 1.121 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.179e-05/1.221, allocations: 5.125 kB / 1.121 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/1.221, allocations: 9.828 kB / 1.121 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/1.221, allocations: 10.02 kB / 1.121 GB, free: 28.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.855e-05/1.221, allocations: 98.58 kB / 1.121 GB, free: 28.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/1.221, allocations: 0 / 1.121 GB, free: 28.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000416/1.221, allocations: 53.03 kB / 1.121 GB, free: 28.36 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002099/1.221, allocations: 109.5 kB / 1.121 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006547/1.222, allocations: 365.3 kB / 1.121 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.222, allocations: 384 / 1.121 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/1.222, allocations: 41.17 kB / 1.121 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/1.223, allocations: 26.7 kB / 1.121 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/1.223, allocations: 212.3 kB / 1.122 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.223, allocations: 0.6951 MB / 1.122 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.199e-05/1.223, allocations: 12.12 kB / 1.122 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/1.224, allocations: 11.41 kB / 1.122 GB, free: 27.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.224, allocations: 0 / 1.122 GB, free: 27.2 MB / 0.698 GB Notification: Performance of Templates: time 0.007175/1.231, allocations: 2.374 MB / 1.125 GB, free: 26.99 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)