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.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01066/0.01066, allocations: 221.1 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.001097/0.001097, allocations: 179.4 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 4.069/4.069, allocations: 389.1 MB / 405.9 MB, free: 11.73 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.062/4.062, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004742, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1657, allocations: 98.73 MB / 1.104 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006103/0.1663, allocations: 281.2 kB / 1.104 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.628e-05/0.1664, allocations: 4 kB / 1.104 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.1664, allocations: 0 / 1.104 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.659e-06/0.1664, allocations: 0 / 1.104 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.398e-05/0.1665, allocations: 4 kB / 1.104 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.167e-05/0.1665, allocations: 3.281 kB / 1.104 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.409e-05/0.1665, allocations: 0 / 1.104 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.1666, allocations: 3.984 kB / 1.104 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.377e-05/0.1666, allocations: 3.938 kB / 1.104 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.509e-05/0.1666, allocations: 0 / 1.104 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.529e-06/0.1667, allocations: 4 kB / 1.104 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-06/0.1667, allocations: 0 / 1.104 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-06/0.1667, allocations: 0 / 1.104 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.1667, allocations: 25.7 kB / 1.104 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.193e-05/0.1668, allocations: 3.5 kB / 1.104 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.146e-06/0.1668, allocations: 0 / 1.104 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.868e-06/0.1668, allocations: 0 / 1.104 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.697e-06/0.1668, allocations: 0 / 1.104 GB, free: 41.7 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001852/0.167, allocations: 315.4 kB / 1.105 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.167, allocations: 8.031 kB / 1.105 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.1671, allocations: 3.953 kB / 1.105 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.988e-05/0.1671, allocations: 159.1 kB / 1.105 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1672, allocations: 5.094 kB / 1.105 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-06/0.1672, allocations: 0 / 1.105 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.1672, allocations: 32.95 kB / 1.105 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.196e-06/0.1673, allocations: 0 / 1.105 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-06/0.1673, allocations: 0 / 1.105 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-06/0.1673, allocations: 3.953 kB / 1.105 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.51e-05/0.1673, allocations: 7.938 kB / 1.105 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.1675, allocations: 389 kB / 1.105 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.678e-05/0.1676, allocations: 177.6 kB / 1.105 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.1676, allocations: 80.14 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1677, allocations: 75.28 kB / 1.106 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1677, allocations: 111.8 kB / 1.106 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.535e-06/0.1677, allocations: 0 / 1.106 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.758e-05/0.1678, allocations: 33.66 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1678, allocations: 130.6 kB / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.1679, allocations: 98.73 kB / 1.106 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.487e-06/0.1679, allocations: 27.45 kB / 1.106 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.1679, allocations: 80.14 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-06/0.1679, allocations: 3.938 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-07/0.1679, allocations: 0 / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.168, allocations: 315.9 kB / 1.106 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-06/0.168, allocations: 0 / 1.106 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-06/0.168, allocations: 1.375 kB / 1.106 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.1681, allocations: 75.28 kB / 1.106 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.1681, allocations: 75.28 kB / 1.106 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.472e-05/0.1681, allocations: 32.3 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1682, allocations: 79.28 kB / 1.107 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.1682, allocations: 87.2 kB / 1.107 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/0.1683, allocations: 162.5 kB / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-05/0.1683, allocations: 78.53 kB / 1.107 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/0.1683, allocations: 154.5 kB / 1.107 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.1684, allocations: 83.27 kB / 1.107 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1684, allocations: 79.22 kB / 1.107 GB, free: 38.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 6.353e-05/0.1685, allocations: 259.5 kB / 1.107 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.1685, allocations: 105 kB / 1.108 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.1686, allocations: 108.1 kB / 1.108 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.1686, allocations: 188.1 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/0.1687, allocations: 176.3 kB / 1.108 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/0.1687, allocations: 188 kB / 1.108 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1689, allocations: 403 kB / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.1689, allocations: 105 kB / 1.109 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.1689, allocations: 104.9 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-05/0.169, allocations: 186.9 kB / 1.109 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.169, allocations: 180.5 kB / 1.109 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.678e-05/0.169, allocations: 176.3 kB / 1.109 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.002e-05/0.1691, allocations: 196.1 kB / 1.109 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/0.1692, allocations: 303.1 kB / 1.11 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.1692, allocations: 186 kB / 1.11 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.1693, allocations: 184.2 kB / 1.11 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.1693, allocations: 108 kB / 1.11 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.1694, allocations: 176.3 kB / 1.11 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1694, allocations: 108.9 kB / 1.11 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.796e-05/0.1694, allocations: 75.28 kB / 1.111 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.72e-07/0.1695, allocations: 0 / 1.111 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003193/0.1698, allocations: 2.938 kB / 1.111 GB, free: 34.94 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 9.304e-05/0.1699, allocations: 182.5 kB / 1.111 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.576e-05/0.1699, allocations: 7.938 kB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.134e-06/0.1699, allocations: 4 kB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.198e-06/0.17, allocations: 2.875 kB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1703, allocations: 0.5146 MB / 1.111 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/0.1705, allocations: 148.8 kB / 1.111 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.1706, allocations: 0.677 MB / 1.112 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.976e-06/0.1706, allocations: 0 / 1.112 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.1706, allocations: 7.438 kB / 1.112 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of SimCode: time 1.256e-06/0.1706, allocations: 0 / 1.112 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.001876/0.1725, allocations: 146.6 kB / 1.112 GB, free: 33.2 MB / 0.6042 GB