Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.864/3.864, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.154e-05, allocations: 4 kB / 0.5325 GB, free: 1.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4915, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.6758, allocations: 123 MB / 0.749 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.676, allocations: 75.89 kB / 0.7491 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005464/0.6766, allocations: 380.7 kB / 0.7495 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.091e-06/0.6766, allocations: 0 / 0.7495 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.607e-06/0.6766, allocations: 0 / 0.7495 GB, free: 4.129 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.0002711/0.6769, allocations: 306.6 kB / 0.7498 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.677, allocations: 8.031 kB / 0.7498 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.677, allocations: 0 / 0.7498 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.6772, allocations: 163 kB / 0.7499 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.6772, allocations: 4 kB / 0.7499 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.6772, allocations: 4 kB / 0.7499 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.308e-05/0.6772, allocations: 0 / 0.7499 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.428e-05/0.6773, allocations: 29.7 kB / 0.75 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.734e-06/0.6773, allocations: 4 kB / 0.75 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-06/0.6773, allocations: 0 / 0.75 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-06/0.6774, allocations: 0 / 0.75 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.6777, allocations: 360 kB / 0.7503 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.6778, allocations: 177.2 kB / 0.7505 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.6779, allocations: 80.14 kB / 0.7505 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.6779, allocations: 75.28 kB / 0.7506 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.678, allocations: 105.8 kB / 0.7507 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.878e-06/0.678, allocations: 0 / 0.7507 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.752e-05/0.6781, allocations: 29.64 kB / 0.7507 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.6781, allocations: 59.39 kB / 0.7508 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.6782, allocations: 92.94 kB / 0.7509 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.6782, allocations: 25.7 kB / 0.7509 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.6783, allocations: 80.14 kB / 0.751 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-06/0.6783, allocations: 0 / 0.751 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-07/0.6783, allocations: 0 / 0.751 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6785, allocations: 318.8 kB / 0.7513 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.6785, allocations: 4.125 kB / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-06/0.6785, allocations: 4 kB / 0.7513 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.6785, allocations: 75.28 kB / 0.7514 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.6786, allocations: 75.28 kB / 0.7514 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.292e-05/0.6787, allocations: 29.64 kB / 0.7515 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.6787, allocations: 85.42 kB / 0.7516 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/0.6788, allocations: 79.22 kB / 0.7516 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.393e-05/0.6789, allocations: 158.5 kB / 0.7518 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.694e-05/0.6789, allocations: 82.3 kB / 0.7519 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.268e-05/0.679, allocations: 154.5 kB / 0.752 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-05/0.6791, allocations: 79.28 kB / 0.7521 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.6791, allocations: 75.28 kB / 0.7522 GB, free: 1.16 MB / 0.6198 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 () * 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.0001413/0.6793, allocations: 259.5 kB / 0.7524 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.6794, allocations: 108.9 kB / 0.7525 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.6795, allocations: 116.5 kB / 0.7526 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-05/0.6796, allocations: 176.6 kB / 0.7528 GB, free: 500 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.845e-05/0.6797, allocations: 180.2 kB / 0.753 GB, free: 312 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.392e-05/0.6798, allocations: 180.3 kB / 0.7531 GB, free: 124 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.68, allocations: 389.7 kB / 0.7535 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.524e-05/0.6801, allocations: 112.9 kB / 0.7536 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.6802, allocations: 101 kB / 0.7537 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-05/0.6803, allocations: 176.3 kB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.6804, allocations: 184.2 kB / 0.7541 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.484e-05/0.6805, allocations: 180.2 kB / 0.7542 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.594e-05/0.6806, allocations: 180.3 kB / 0.7544 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.6808, allocations: 307.7 kB / 0.7547 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.6809, allocations: 182.1 kB / 0.7549 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.681, allocations: 180.2 kB / 0.755 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.6811, allocations: 108.9 kB / 0.7551 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.6812, allocations: 180.3 kB / 0.7553 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.6812, allocations: 104.9 kB / 0.7554 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.6813, allocations: 75.28 kB / 0.7555 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.32e-07/0.6813, allocations: 0 / 0.7555 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003325/0.6817, allocations: 4 kB / 0.7555 GB, free: 13.54 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 () * 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.0001694/0.6818, allocations: 178.6 kB / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 2.89e-05/0.6819, allocations: 0 / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.348e-06/0.6819, allocations: 0 / 0.7557 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.748e-06/0.6819, allocations: 8 kB / 0.7557 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.6823, allocations: 0.5185 MB / 0.7562 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001818/0.6825, allocations: 127.8 kB / 0.7563 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.6828, allocations: 0.6729 MB / 0.7569 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.092e-06/0.6828, allocations: 0 / 0.7569 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.048e-05/0.6829, allocations: 7.438 kB / 0.757 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of SimCode: time 1.306e-06/0.6829, allocations: 0 / 0.757 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.001742/0.6846, allocations: 154.2 kB / 0.7571 GB, free: 11.82 MB / 0.6355 GB