Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004137/0.004137, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001102/0.001102, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.932/3.932, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.054/4.054, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006578/0.0006579, allocations: 14.31 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1761, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7794/0.9555, allocations: 124.3 MB / 1.226 GB, free: 28.62 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.9559, allocations: 77.14 kB / 1.226 GB, free: 28.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004623/0.9605, allocations: 1.155 MB / 1.227 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9606, allocations: 0 / 1.227 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.9606, allocations: 0 / 1.227 GB, free: 27.84 MB / 0.6198 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.0006444/0.9612, allocations: 408.1 kB / 1.228 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.9613, allocations: 12.03 kB / 1.228 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.9613, allocations: 8.625 kB / 1.228 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.9615, allocations: 175.6 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.9615, allocations: 4 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.9616, allocations: 8.969 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.9617, allocations: 55.03 kB / 1.228 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.9617, allocations: 3.938 kB / 1.228 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.9618, allocations: 4 kB / 1.228 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.9618, allocations: 1.453 kB / 1.228 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.9619, allocations: 30.38 kB / 1.228 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.9624, allocations: 303.1 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.9626, allocations: 58.98 kB / 1.228 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.9626, allocations: 22.44 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.9627, allocations: 7.406 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.9629, allocations: 80.86 kB / 1.228 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.9629, allocations: 0 / 1.228 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003249/0.9632, allocations: 121.2 kB / 1.229 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.9633, allocations: 51.41 kB / 1.229 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.9634, allocations: 141.3 kB / 1.229 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.9634, allocations: 29.08 kB / 1.229 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.9635, allocations: 92.55 kB / 1.229 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.9635, allocations: 24.2 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.9636, allocations: 0 / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9637, allocations: 319.2 kB / 1.229 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.9638, allocations: 22.94 kB / 1.229 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.9638, allocations: 48.31 kB / 1.229 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.9639, allocations: 20.94 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9639, allocations: 0 / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001999/0.9641, allocations: 105.3 kB / 1.229 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9642, allocations: 4 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.9642, allocations: 4 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.9642, allocations: 0.6562 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.9643, allocations: 17.2 kB / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.9643, allocations: 0 / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.9645, allocations: 28.47 kB / 1.229 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.9646, allocations: 4 kB / 1.229 GB, free: 25.79 MB / 0.6198 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 () * Number of clocked 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 0.0001019/0.9647, allocations: 117.7 kB / 1.23 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.9647, allocations: 12.11 kB / 1.23 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.9647, allocations: 19.84 kB / 1.23 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.9648, allocations: 0 / 1.23 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.9648, allocations: 3.953 kB / 1.23 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9648, allocations: 0.6094 kB / 1.23 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.965, allocations: 191.2 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.965, allocations: 0 / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.965, allocations: 5.938 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9651, allocations: 5.969 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.9651, allocations: 0 / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.9651, allocations: 3.625 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.9651, allocations: 2.938 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.9653, allocations: 129 kB / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.9654, allocations: 83.36 kB / 1.23 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.9654, allocations: 3.125 kB / 1.23 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.9656, allocations: 23.97 kB / 1.23 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.9657, allocations: 14.38 kB / 1.23 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.9657, allocations: 4 kB / 1.23 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.821e-05/0.9658, allocations: 95.92 kB / 1.23 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9658, allocations: 3.156 kB / 1.23 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002728/0.9661, allocations: 23.27 kB / 1.23 GB, free: 25.09 MB / 0.6198 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 () * 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.0001247/0.9662, allocations: 107.3 kB / 1.23 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.9664, allocations: 58.91 kB / 1.23 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9664, allocations: 9.609 kB / 1.23 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.9666, allocations: 40.69 kB / 1.23 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.9669, allocations: 19.88 kB / 1.23 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.9674, allocations: 203.2 kB / 1.231 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/0.9682, allocations: 0.6937 MB / 1.231 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.9683, allocations: 10.58 kB / 1.231 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.9684, allocations: 12.09 kB / 1.231 GB, free: 40 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.9684, allocations: 0 / 1.231 GB, free: 40 MB / 0.6355 GB Notification: Performance of Templates: time 0.004645/0.973, allocations: 1.033 MB / 1.232 GB, free: 39.48 MB / 0.6355 GB