Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.371/2.371, allocations: 253.2 MB / 260.6 MB, free: 7.383 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.001521, allocations: 179.6 kB / 319.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001042, allocations: 82.66 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.429e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2349, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9366/1.172, allocations: 131.5 MB / 1.017 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.172, allocations: 74.55 kB / 1.017 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004748/1.177, allocations: 1.16 MB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.177, allocations: 0 / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.177, allocations: 0 / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006663/1.177, allocations: 381.9 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.178, allocations: 16.02 kB / 1.019 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/1.178, allocations: 4 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/1.178, allocations: 186.2 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/1.178, allocations: 4 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/1.178, allocations: 8 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001288/1.178, allocations: 27.86 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/1.178, allocations: 52.61 kB / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.178, allocations: 0 / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.178, allocations: 7.938 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.178, allocations: 0.75 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/1.179, allocations: 281.7 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/1.179, allocations: 44.39 kB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/1.179, allocations: 16.73 kB / 1.019 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/1.179, allocations: 4 kB / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/1.179, allocations: 85.53 kB / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.765e-06/1.179, allocations: 0 / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002835/1.18, allocations: 90.22 kB / 1.019 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.18, allocations: 55.36 kB / 1.019 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/1.18, allocations: 119.1 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/1.18, allocations: 25.7 kB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/1.18, allocations: 91.5 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/1.18, allocations: 23.11 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/1.18, allocations: 3.562 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.18, allocations: 322.5 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/1.18, allocations: 15.69 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/1.18, allocations: 48.94 kB / 1.02 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/1.18, allocations: 15.67 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.18, allocations: 0 / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00022/1.181, allocations: 92.34 kB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.181, allocations: 9.188 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.181, allocations: 3.984 kB / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.181, allocations: 4 kB / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/1.181, allocations: 11.92 kB / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.181, allocations: 7.938 kB / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/1.181, allocations: 23.5 kB / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/1.181, allocations: 4 kB / 1.02 GB, free: 2.578 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.934e-05/1.181, allocations: 112.9 kB / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/1.181, allocations: 8.094 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/1.181, allocations: 12.3 kB / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.181, allocations: 7.938 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.181, allocations: 0.875 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.181, allocations: 0 / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/1.181, allocations: 161 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.181, allocations: 3.984 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/1.181, allocations: 4 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.182, allocations: 4 kB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.182, allocations: 4.438 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.182, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.182, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/1.182, allocations: 120.8 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/1.182, allocations: 85.02 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/1.182, allocations: 3.938 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.182, allocations: 23.97 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/1.182, allocations: 11.98 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/1.182, allocations: 7.5 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.324e-05/1.182, allocations: 92.59 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.182, allocations: 0 / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002872/1.183, allocations: 16 kB / 1.021 GB, free: 1.871 MB / 0.6355 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete 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.0001615/1.183, allocations: 108.5 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001999/1.183, allocations: 58.36 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.183, allocations: 0 / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/1.183, allocations: 31.31 kB / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/1.183, allocations: 24.59 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/1.184, allocations: 122.8 kB / 1.021 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/1.184, allocations: 0.6963 MB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.455e-05/1.184, allocations: 8.5 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/1.184, allocations: 11.44 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/1.184, allocations: 0 / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of Templates: time 0.004646/1.189, allocations: 1.002 MB / 1.023 GB, free: 15.82 MB / 0.6511 GB