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.004127/0.004127, allocations: 234.1 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.001115/0.001115, allocations: 175.1 kB / 16.7 MB, free: 5.457 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 3.859/3.859, 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.232/4.232, allocations: 472.3 MB / 0.9024 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004868, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.183, allocations: 98.73 MB / 1.105 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7868/0.9699, allocations: 124.7 MB / 1.226 GB, free: 28.55 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.9702, allocations: 77.8 kB / 1.226 GB, free: 28.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006625/0.9769, allocations: 1.447 MB / 1.228 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9769, allocations: 0 / 1.228 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.9769, allocations: 4 kB / 1.228 GB, free: 27.6 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007159/0.9777, allocations: 392 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.9777, allocations: 12.03 kB / 1.228 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.9778, allocations: 9.625 kB / 1.228 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.9779, allocations: 180.8 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.978, allocations: 11.34 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.978, allocations: 5.781 kB / 1.228 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.9785, allocations: 114.1 kB / 1.229 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9785, allocations: 0.75 kB / 1.229 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.9785, allocations: 1.359 kB / 1.229 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9786, allocations: 0.75 kB / 1.229 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.9792, allocations: 125.4 kB / 1.229 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.9799, allocations: 344 kB / 1.229 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.981, allocations: 129.8 kB / 1.229 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.9813, allocations: 69.72 kB / 1.229 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.9814, allocations: 2.75 kB / 1.229 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.9814, allocations: 32.02 kB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/0.9814, allocations: 0 / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001167/0.9826, allocations: 222.7 kB / 1.229 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.9826, allocations: 59.34 kB / 1.23 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.9828, allocations: 115.4 kB / 1.23 GB, free: 26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.9828, allocations: 33.02 kB / 1.23 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.9829, allocations: 99.62 kB / 1.23 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.9829, allocations: 15.31 kB / 1.23 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.983, allocations: 0 / 1.23 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9831, allocations: 321.6 kB / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.9835, allocations: 52.95 kB / 1.23 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.9838, allocations: 58.53 kB / 1.23 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.9841, allocations: 64.02 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9841, allocations: 0 / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007443/0.9849, allocations: 153.2 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9849, allocations: 8 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.985, allocations: 3.688 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.985, allocations: 12.73 kB / 1.23 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.9853, allocations: 32 kB / 1.23 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9853, allocations: 0.5156 kB / 1.23 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.9856, allocations: 28.12 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.9856, allocations: 0 / 1.23 GB, free: 25.29 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: 3 (max1.u1,max1.u2,max1.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.0001375/0.9858, allocations: 117.4 kB / 1.231 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.9858, allocations: 7.906 kB / 1.231 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008635/0.9867, allocations: 177.9 kB / 1.231 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.9867, allocations: 3.953 kB / 1.231 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.9867, allocations: 0 / 1.231 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9867, allocations: 4.25 kB / 1.231 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.987, allocations: 195.5 kB / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.987, allocations: 3.938 kB / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.9873, allocations: 30.86 kB / 1.231 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.9874, allocations: 0.6562 kB / 1.231 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.9874, allocations: 5.5 kB / 1.231 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9874, allocations: 0.6094 kB / 1.231 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9874, allocations: 6.547 kB / 1.231 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.9882, allocations: 254 kB / 1.231 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.9883, allocations: 86.36 kB / 1.231 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.9883, allocations: 8.844 kB / 1.231 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.9886, allocations: 20.55 kB / 1.231 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.9887, allocations: 18.39 kB / 1.231 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.9887, allocations: 9.125 kB / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.245e-05/0.9888, allocations: 100.9 kB / 1.231 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9888, allocations: 0 / 1.231 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00111/0.99, allocations: 21.48 kB / 1.232 GB, free: 24.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007572/0.9908, allocations: 106.8 kB / 1.232 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009171/0.9917, allocations: 129.4 kB / 1.232 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9917, allocations: 0 / 1.232 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.9921, allocations: 80.48 kB / 1.232 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.9926, allocations: 7.875 kB / 1.232 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.9932, allocations: 182 kB / 1.232 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.9935, allocations: 0.6946 MB / 1.233 GB, free: 39.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.9936, allocations: 13.03 kB / 1.233 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.9937, allocations: 16.36 kB / 1.233 GB, free: 39.22 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.9937, allocations: 0 / 1.233 GB, free: 39.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.005534/0.9993, allocations: 1.308 MB / 1.234 GB, free: 38.54 MB / 0.6355 GB