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.01067/0.01067, allocations: 221.4 kB / 15.17 MB, free: 5.93 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.001136/0.001136, allocations: 175.5 kB / 16.06 MB, free: 5.828 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.835/3.835, allocations: 389.1 MB / 405.9 MB, free: 11.76 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.139/4.139, allocations: 472.3 MB / 0.9018 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007748/0.000775, allocations: 12 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1613, allocations: 98.71 MB / 1.104 GB, free: 80.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001196/0.1625, allocations: 1.129 MB / 1.105 GB, free: 79.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004065/0.1629, allocations: 214.6 kB / 1.105 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.163, allocations: 0 / 1.105 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.163, allocations: 7.922 kB / 1.105 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.1631, allocations: 10.41 kB / 1.105 GB, free: 79.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.1632, allocations: 23.92 kB / 1.105 GB, free: 79.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.1633, allocations: 83.69 kB / 1.105 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.1634, allocations: 12.12 kB / 1.105 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.1635, allocations: 23.33 kB / 1.106 GB, free: 78.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.1636, allocations: 35.84 kB / 1.106 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1636, allocations: 0 / 1.106 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.1636, allocations: 4 kB / 1.106 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.1636, allocations: 15.92 kB / 1.106 GB, free: 78.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1637, allocations: 31.25 kB / 1.106 GB, free: 78.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.86e-05/0.1638, allocations: 56.16 kB / 1.106 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.966e-06/0.1638, allocations: 0 / 1.106 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.727e-06/0.1638, allocations: 0 / 1.106 GB, free: 78.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.522e-06/0.1638, allocations: 2.5 kB / 1.106 GB, free: 78.81 MB / 0.6042 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.000513/0.1643, allocations: 406.5 kB / 1.106 GB, free: 78.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1644, allocations: 8.031 kB / 1.106 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.1644, allocations: 8 kB / 1.106 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.414e-05/0.1645, allocations: 178.9 kB / 1.106 GB, free: 78.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1646, allocations: 7.984 kB / 1.106 GB, free: 78.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1646, allocations: 4 kB / 1.106 GB, free: 78.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1647, allocations: 61.67 kB / 1.106 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.84e-06/0.1648, allocations: 7.125 kB / 1.106 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1648, allocations: 0 / 1.106 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-06/0.1648, allocations: 0 / 1.106 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.1649, allocations: 27.98 kB / 1.106 GB, free: 78.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.1653, allocations: 317.2 kB / 1.107 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1655, allocations: 54.59 kB / 1.107 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.1655, allocations: 24.8 kB / 1.107 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1656, allocations: 0 / 1.107 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.1657, allocations: 89.95 kB / 1.107 GB, free: 77.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.296e-06/0.1658, allocations: 0 / 1.107 GB, free: 77.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002827/0.166, allocations: 117.4 kB / 1.107 GB, free: 77.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1661, allocations: 59.41 kB / 1.107 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.1662, allocations: 125.8 kB / 1.107 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1662, allocations: 37.02 kB / 1.107 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.1663, allocations: 84.14 kB / 1.107 GB, free: 77.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1663, allocations: 23.66 kB / 1.107 GB, free: 77.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-06/0.1663, allocations: 4 kB / 1.107 GB, free: 77.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.1664, allocations: 322.8 kB / 1.108 GB, free: 76.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.1664, allocations: 19.98 kB / 1.108 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1665, allocations: 47.58 kB / 1.108 GB, free: 76.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.1666, allocations: 20 kB / 1.108 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-06/0.1666, allocations: 0 / 1.108 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001864/0.1668, allocations: 106.2 kB / 1.108 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1668, allocations: 7.406 kB / 1.108 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1668, allocations: 0 / 1.108 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1669, allocations: 4 kB / 1.108 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.1669, allocations: 11.92 kB / 1.108 GB, free: 76.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.416e-06/0.1669, allocations: 7.953 kB / 1.108 GB, free: 76.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1671, allocations: 23.98 kB / 1.108 GB, free: 76.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1671, allocations: 3.125 kB / 1.108 GB, free: 76.43 MB / 0.6042 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 7.737e-05/0.1672, allocations: 121.8 kB / 1.108 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.1672, allocations: 7.906 kB / 1.108 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.1673, allocations: 14.86 kB / 1.108 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-06/0.1673, allocations: 4 kB / 1.108 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-06/0.1673, allocations: 480 / 1.108 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-06/0.1673, allocations: 6.641 kB / 1.108 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1675, allocations: 193.7 kB / 1.108 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-06/0.1675, allocations: 0 / 1.108 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.1675, allocations: 3.938 kB / 1.108 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-06/0.1675, allocations: 7.875 kB / 1.108 GB, free: 76.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1675, allocations: 4 kB / 1.108 GB, free: 76.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.273e-06/0.1676, allocations: 3.984 kB / 1.108 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-06/0.1676, allocations: 3.188 kB / 1.108 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.1678, allocations: 120.9 kB / 1.108 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1678, allocations: 89 kB / 1.108 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1679, allocations: 4 kB / 1.108 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.168, allocations: 27.45 kB / 1.108 GB, free: 75.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.1681, allocations: 11.97 kB / 1.108 GB, free: 75.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1681, allocations: 4 kB / 1.108 GB, free: 75.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.1682, allocations: 99.27 kB / 1.108 GB, free: 75.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.76e-07/0.1682, allocations: 0 / 1.108 GB, free: 75.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002714/0.1685, allocations: 16 kB / 1.108 GB, free: 75.61 MB / 0.6042 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 9.942e-05/0.1686, allocations: 110.1 kB / 1.109 GB, free: 75.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1688, allocations: 63.91 kB / 1.109 GB, free: 75.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.48e-06/0.1688, allocations: 3.938 kB / 1.109 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.1689, allocations: 35.98 kB / 1.109 GB, free: 75.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1692, allocations: 18.98 kB / 1.109 GB, free: 75.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.1696, allocations: 202.4 kB / 1.109 GB, free: 75.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.1697, allocations: 0.6965 MB / 1.11 GB, free: 74.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.1698, allocations: 8.562 kB / 1.11 GB, free: 74.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1698, allocations: 11.44 kB / 1.11 GB, free: 74.42 MB / 0.6042 GB Notification: Performance of SimCode: time 1.87e-06/0.1698, allocations: 0 / 1.11 GB, free: 74.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.003838/0.1737, allocations: 1.048 MB / 1.111 GB, free: 73.43 MB / 0.6042 GB