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.01488/0.01488, allocations: 111.8 kB / 15.06 MB, free: 5.965 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.001733/0.001733, allocations: 180.2 kB / 15.94 MB, free: 5.93 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 2.142/2.142, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.27/2.27, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004643, allocations: 12 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6082, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.7876, allocations: 123.7 MB / 0.8042 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.7879, allocations: 67.95 kB / 0.8043 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005486/0.7884, allocations: 376.8 kB / 0.8046 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.724e-06/0.7885, allocations: 0 / 0.8046 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.444e-06/0.7885, allocations: 0 / 0.8046 GB, free: 2.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.0002726/0.7888, allocations: 307.4 kB / 0.8049 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.7888, allocations: 12.09 kB / 0.8049 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.7889, allocations: 0 / 0.8049 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.789, allocations: 171 kB / 0.8051 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.789, allocations: 3.938 kB / 0.8051 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.789, allocations: 0 / 0.8051 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.7891, allocations: 29.7 kB / 0.8051 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.884e-06/0.7891, allocations: 0 / 0.8051 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-06/0.7891, allocations: 0 / 0.8051 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-06/0.7892, allocations: 0 / 0.8051 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.7892, allocations: 3.938 kB / 0.8051 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.7896, allocations: 387.5 kB / 0.8055 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.7897, allocations: 165.2 kB / 0.8056 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.7897, allocations: 79.28 kB / 0.8057 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/0.7898, allocations: 113.8 kB / 0.8058 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.816e-06/0.7898, allocations: 4 kB / 0.8058 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.408e-05/0.7899, allocations: 25.7 kB / 0.8059 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.79, allocations: 126.7 kB / 0.806 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.7901, allocations: 92.98 kB / 0.8061 GB, free: 460 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.7901, allocations: 25.7 kB / 0.8061 GB, free: 428 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.7901, allocations: 80.14 kB / 0.8062 GB, free: 344 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-06/0.7902, allocations: 0 / 0.8062 GB, free: 344 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-07/0.7902, allocations: 0 / 0.8062 GB, free: 344 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7903, allocations: 330.9 kB / 0.8065 GB, free: 4 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-06/0.7903, allocations: 0 / 0.8065 GB, free: 4 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-06/0.7904, allocations: 0 / 0.8065 GB, free: 4 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.7904, allocations: 75.28 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-05/0.7905, allocations: 75.28 kB / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.928e-05/0.7906, allocations: 36 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.7906, allocations: 79.28 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.7907, allocations: 75.28 kB / 0.8068 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.069e-05/0.7908, allocations: 162.5 kB / 0.807 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.7908, allocations: 79.28 kB / 0.807 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.021e-05/0.7909, allocations: 154.5 kB / 0.8072 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.791, allocations: 79.28 kB / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.791, allocations: 75.28 kB / 0.8073 GB, free: 15.12 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.000154/0.7912, allocations: 268.4 kB / 0.8076 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.7913, allocations: 112.8 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.7914, allocations: 108.1 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.29e-05/0.7915, allocations: 180.5 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-05/0.7916, allocations: 184.3 kB / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.643e-05/0.7917, allocations: 180.3 kB / 0.8083 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.792, allocations: 409.1 kB / 0.8087 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/0.792, allocations: 105 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.7921, allocations: 104.9 kB / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/0.7922, allocations: 180.3 kB / 0.8091 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/0.7923, allocations: 180.2 kB / 0.8093 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.885e-05/0.7924, allocations: 188.2 kB / 0.8094 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.081e-05/0.7925, allocations: 176.3 kB / 0.8096 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.7927, allocations: 308.5 kB / 0.8099 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.7928, allocations: 182.1 kB / 0.8101 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.42e-05/0.7929, allocations: 180.2 kB / 0.8102 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.793, allocations: 113 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.7931, allocations: 180.2 kB / 0.8105 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.7932, allocations: 109 kB / 0.8106 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.7932, allocations: 79.28 kB / 0.8107 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.21e-07/0.7933, allocations: 0 / 0.8107 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003423/0.7936, allocations: 0 / 0.8107 GB, free: 11.45 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.0001601/0.7938, allocations: 178.6 kB / 0.8109 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.428e-05/0.7938, allocations: 496 / 0.8109 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.7938, allocations: 0 / 0.8109 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.7938, allocations: 3.938 kB / 0.8109 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.7942, allocations: 0.5341 MB / 0.8114 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.7945, allocations: 158 kB / 0.8116 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.7948, allocations: 0.6692 MB / 0.8122 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.243e-06/0.7948, allocations: 0 / 0.8122 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.7948, allocations: 7.438 kB / 0.8122 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of SimCode: time 1.366e-06/0.7949, allocations: 4 kB / 0.8122 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of Templates: time 0.001919/0.7968, allocations: 152.8 kB / 0.8124 GB, free: 9.68 MB / 0.6355 GB