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.Validation.Max.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.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004422/0.004421, allocations: 238.5 kB / 15.81 MB, free: 6.281 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.001201/0.001201, allocations: 185.1 kB / 16.69 MB, free: 5.449 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.147/4.147, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.165/4.165, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004922, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1806, allocations: 98.73 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001624/0.1823, allocations: 1.175 MB / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005026/0.1829, allocations: 179 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.1829, allocations: 0 / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.183, allocations: 3.938 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/0.1831, allocations: 3.938 kB / 1.106 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.1833, allocations: 34 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1834, allocations: 75.81 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1835, allocations: 16.67 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.1836, allocations: 38.53 kB / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.1837, allocations: 43.81 kB / 1.106 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.1838, allocations: 4 kB / 1.106 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.1838, allocations: 4 kB / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.1838, allocations: 15.92 kB / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.1839, allocations: 29.7 kB / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.184, allocations: 55.86 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.184, allocations: 3.219 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.184, allocations: 0 / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.184, allocations: 0 / 1.106 GB, free: 40.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007468/0.1848, allocations: 394 kB / 1.107 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1848, allocations: 8.031 kB / 1.107 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.1849, allocations: 7.906 kB / 1.107 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.185, allocations: 178.9 kB / 1.107 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1851, allocations: 4 kB / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1851, allocations: 4 kB / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.1856, allocations: 116.8 kB / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1856, allocations: 0 / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1856, allocations: 7.953 kB / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1856, allocations: 4 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.1863, allocations: 112.2 kB / 1.107 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.187, allocations: 355.4 kB / 1.107 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.1881, allocations: 131.8 kB / 1.108 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.1885, allocations: 64.75 kB / 1.108 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.1885, allocations: 3.062 kB / 1.108 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1886, allocations: 34.56 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.076e-06/0.1886, allocations: 1.719 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.00111/0.1897, allocations: 220.2 kB / 1.108 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.1897, allocations: 51.41 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1899, allocations: 121.8 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1899, allocations: 29.64 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.1899, allocations: 92.12 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.19, allocations: 22.75 kB / 1.108 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.19, allocations: 0 / 1.108 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.1901, allocations: 322.8 kB / 1.108 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.1904, allocations: 59.23 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.1908, allocations: 55.95 kB / 1.109 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.1911, allocations: 55.48 kB / 1.109 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1911, allocations: 3.953 kB / 1.109 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007402/0.1919, allocations: 157.1 kB / 1.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1919, allocations: 4 kB / 1.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1919, allocations: 7.344 kB / 1.109 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.192, allocations: 3.984 kB / 1.109 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1923, allocations: 31.97 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1923, allocations: 4.062 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1925, allocations: 21.05 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1926, allocations: 0 / 1.109 GB, free: 37.57 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001021/0.1927, allocations: 121.2 kB / 1.109 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.1927, allocations: 11.86 kB / 1.109 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.1935, allocations: 173.1 kB / 1.109 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1935, allocations: 0 / 1.109 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1936, allocations: 0 / 1.109 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.1936, allocations: 88.36 kB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1936, allocations: 0 / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.1939, allocations: 23.97 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.194, allocations: 19.97 kB / 1.109 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009668/0.195, allocations: 263.5 kB / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007715/0.1958, allocations: 324.6 kB / 1.11 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003588/0.1962, allocations: 75.19 kB / 1.11 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.1962, allocations: 95.27 kB / 1.11 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of Backend: time 1.022e-06/0.1963, allocations: 0 / 1.11 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007653/0.197, allocations: 157 kB / 1.11 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005656/0.1976, allocations: 0.6161 MB / 1.111 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.0051/0.2027, allocations: 1.457 MB / 1.112 GB, free: 34.15 MB / 0.6042 GB