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.004273/0.004272, allocations: 233 kB / 15.82 MB, free: 6.297 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.001168/0.001168, allocations: 178.2 kB / 16.71 MB, free: 5.453 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.032/4.032, allocations: 389 MB / 406.5 MB, free: 11.85 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.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006456/0.0006458, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1814, allocations: 98.71 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7759/0.9574, allocations: 123.7 MB / 1.225 GB, free: 29.12 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.9577, allocations: 70.66 kB / 1.226 GB, free: 29.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005791/0.9582, allocations: 374.3 kB / 1.226 GB, free: 28.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9583, allocations: 0 / 1.226 GB, free: 28.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.9583, allocations: 0 / 1.226 GB, free: 28.76 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001969/0.9585, allocations: 307.4 kB / 1.226 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.9585, allocations: 8.094 kB / 1.226 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.9586, allocations: 9.906 kB / 1.226 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/0.9587, allocations: 163.3 kB / 1.226 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9587, allocations: 0 / 1.226 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.9587, allocations: 0 / 1.226 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.538e-05/0.9588, allocations: 35.67 kB / 1.226 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.9588, allocations: 1.031 kB / 1.226 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.9588, allocations: 1.078 kB / 1.226 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9589, allocations: 0 / 1.226 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.9589, allocations: 0 / 1.226 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.9592, allocations: 386.7 kB / 1.227 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/0.9593, allocations: 168.7 kB / 1.227 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.9593, allocations: 84.08 kB / 1.227 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.9593, allocations: 75.28 kB / 1.227 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.9594, allocations: 113.8 kB / 1.227 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.9594, allocations: 0 / 1.227 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.682e-05/0.9595, allocations: 30.09 kB / 1.227 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.9595, allocations: 126.7 kB / 1.227 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.9596, allocations: 102.3 kB / 1.227 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.9596, allocations: 29.14 kB / 1.227 GB, free: 27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/0.9603, allocations: 81.73 kB / 1.228 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.9603, allocations: 0 / 1.228 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.9603, allocations: 0 / 1.228 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9604, allocations: 310.8 kB / 1.228 GB, free: 42.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.9604, allocations: 7.188 kB / 1.228 GB, free: 42.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.9604, allocations: 6.953 kB / 1.228 GB, free: 42.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.9605, allocations: 78.09 kB / 1.228 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/0.9605, allocations: 75.28 kB / 1.228 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.628e-05/0.9606, allocations: 26.97 kB / 1.228 GB, free: 42.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.9606, allocations: 83.28 kB / 1.228 GB, free: 42.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.9606, allocations: 82.88 kB / 1.228 GB, free: 42.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-05/0.9607, allocations: 153.8 kB / 1.228 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-05/0.9608, allocations: 76.64 kB / 1.228 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.196e-05/0.9608, allocations: 160.6 kB / 1.229 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.9609, allocations: 82.67 kB / 1.229 GB, free: 41.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.9609, allocations: 80.53 kB / 1.229 GB, free: 41.72 MB / 0.6355 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 0.0001058/0.9611, allocations: 259.9 kB / 1.229 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.9611, allocations: 106 kB / 1.229 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.9612, allocations: 108.5 kB / 1.229 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.464e-05/0.9612, allocations: 180.5 kB / 1.229 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.846e-05/0.9613, allocations: 185.4 kB / 1.23 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/0.9614, allocations: 184.9 kB / 1.23 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.9616, allocations: 408.5 kB / 1.23 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/0.9616, allocations: 101 kB / 1.23 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.9617, allocations: 110 kB / 1.23 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.15e-05/0.9618, allocations: 179.2 kB / 1.23 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.9618, allocations: 182.2 kB / 1.231 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-05/0.9619, allocations: 177.6 kB / 1.231 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.714e-05/0.962, allocations: 184.5 kB / 1.231 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.9621, allocations: 313 kB / 1.231 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.9622, allocations: 183.3 kB / 1.231 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.9623, allocations: 183.6 kB / 1.232 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.9624, allocations: 103.8 kB / 1.232 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.9624, allocations: 184.7 kB / 1.232 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.9625, allocations: 101.5 kB / 1.232 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.9625, allocations: 82.09 kB / 1.232 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9625, allocations: 0 / 1.232 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003084/0.9629, allocations: 3.312 kB / 1.232 GB, free: 38.11 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: 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 0.0001315/0.963, allocations: 175.2 kB / 1.232 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.55e-05/0.9631, allocations: 8.422 kB / 1.232 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9631, allocations: 3.812 kB / 1.232 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.9631, allocations: 0 / 1.232 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.9635, allocations: 0.5235 MB / 1.233 GB, free: 37.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.9637, allocations: 152.3 kB / 1.233 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.964, allocations: 0.6707 MB / 1.234 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.369e-05/0.964, allocations: 4.797 kB / 1.234 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.964, allocations: 7.438 kB / 1.234 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.964, allocations: 0 / 1.234 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.002084/0.9661, allocations: 151.6 kB / 1.234 GB, free: 36.47 MB / 0.6355 GB