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.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.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.004151/0.004157, allocations: 231.4 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.001091/0.001091, allocations: 175.2 kB / 16.7 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.008/4.008, 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.032/4.032, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.0006361, allocations: 12.22 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1752, allocations: 98.73 MB / 1.105 GB, free: 42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.818/0.9933, allocations: 123.7 MB / 1.225 GB, free: 28.95 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.9936, allocations: 71.72 kB / 1.226 GB, free: 28.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.000614/0.9942, allocations: 372.8 kB / 1.226 GB, free: 28.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9942, allocations: 0 / 1.226 GB, free: 28.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9943, allocations: 0 / 1.226 GB, free: 28.58 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.000232/0.9945, allocations: 310.1 kB / 1.226 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9945, allocations: 8.031 kB / 1.226 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.9946, allocations: 1.719 kB / 1.226 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.9947, allocations: 165.6 kB / 1.226 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.9947, allocations: 0 / 1.226 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.9948, allocations: 8.172 kB / 1.226 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.211e-05/0.9948, allocations: 26.78 kB / 1.226 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9949, allocations: 2.906 kB / 1.226 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.9949, allocations: 0 / 1.226 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9949, allocations: 3.938 kB / 1.226 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.9949, allocations: 4 kB / 1.226 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.9953, allocations: 383.5 kB / 1.227 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.9954, allocations: 176.6 kB / 1.227 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.9955, allocations: 80.14 kB / 1.227 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.9955, allocations: 79.22 kB / 1.227 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.9956, allocations: 109.1 kB / 1.227 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.9956, allocations: 0 / 1.227 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.744e-05/0.9957, allocations: 29.86 kB / 1.227 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.9957, allocations: 130.7 kB / 1.227 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.9965, allocations: 98.55 kB / 1.227 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.9966, allocations: 25.7 kB / 1.227 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.9966, allocations: 86.05 kB / 1.228 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.9966, allocations: 0 / 1.228 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/0.9967, allocations: 0 / 1.228 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.9968, allocations: 312.2 kB / 1.228 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.9968, allocations: 0.5938 kB / 1.228 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.9969, allocations: 10.06 kB / 1.228 GB, free: 42.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.9969, allocations: 75.28 kB / 1.228 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-05/0.9969, allocations: 75.28 kB / 1.228 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.971e-05/0.997, allocations: 31.72 kB / 1.228 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.9971, allocations: 79.28 kB / 1.228 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/0.9971, allocations: 76.88 kB / 1.228 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.605e-05/0.9972, allocations: 161.9 kB / 1.228 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-05/0.9973, allocations: 75.98 kB / 1.228 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.57e-05/0.9974, allocations: 158.8 kB / 1.229 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.9975, allocations: 79.23 kB / 1.229 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.9975, allocations: 81.95 kB / 1.229 GB, free: 41.54 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.0001509/0.9977, allocations: 264.2 kB / 1.229 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.9978, allocations: 104.8 kB / 1.229 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.9978, allocations: 118.3 kB / 1.229 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.272e-05/0.9979, allocations: 180.5 kB / 1.229 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.823e-05/0.998, allocations: 182.6 kB / 1.23 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/0.9981, allocations: 181.1 kB / 1.23 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.9984, allocations: 407.2 kB / 1.23 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.192e-05/0.9984, allocations: 103.2 kB / 1.23 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.9985, allocations: 105.9 kB / 1.23 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.87e-05/0.9986, allocations: 178.3 kB / 1.23 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.9987, allocations: 186.6 kB / 1.231 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.576e-05/0.9987, allocations: 182.8 kB / 1.231 GB, free: 39.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.428e-05/0.9988, allocations: 179.2 kB / 1.231 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.999, allocations: 308.3 kB / 1.231 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.9991, allocations: 186.7 kB / 1.231 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.9992, allocations: 181.6 kB / 1.232 GB, free: 38.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.9993, allocations: 103.8 kB / 1.232 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.9994, allocations: 185.3 kB / 1.232 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.9995, allocations: 101 kB / 1.232 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.9996, allocations: 83.84 kB / 1.232 GB, free: 37.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9996, allocations: 0 / 1.232 GB, free: 37.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000352/0.9999, allocations: 0 / 1.232 GB, free: 37.94 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.000163/1, allocations: 178.5 kB / 1.232 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.067e-05/1, allocations: 11.17 kB / 1.232 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/1, allocations: 0 / 1.232 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/1, allocations: 4 kB / 1.232 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/1.001, allocations: 0.5185 MB / 1.233 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/1.001, allocations: 153.5 kB / 1.233 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/1.001, allocations: 0.6745 MB / 1.234 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.178e-05/1.001, allocations: 1.5 kB / 1.234 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/1.001, allocations: 7.438 kB / 1.234 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/1.001, allocations: 0 / 1.234 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002312/1.004, allocations: 157.2 kB / 1.234 GB, free: 36.27 MB / 0.6355 GB