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.Validation.Max.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.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 loadModel(Buildings): time 4.077/4.077, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.355e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4924, allocations: 98.7 MB / 0.6289 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.6806, allocations: 123.9 MB / 0.7499 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.6808, allocations: 71.95 kB / 0.75 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006114/0.687, allocations: 1.459 MB / 0.7514 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.397e-06/0.687, allocations: 0 / 0.7514 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.687, allocations: 4 kB / 0.7514 GB, free: 2.027 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.0006328/0.6877, allocations: 382.3 kB / 0.7518 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6877, allocations: 12.02 kB / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.6878, allocations: 7.906 kB / 0.7518 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.688, allocations: 179 kB / 0.752 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.688, allocations: 0 / 0.752 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.688, allocations: 4 kB / 0.752 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001608/0.6882, allocations: 43.94 kB / 0.752 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.6884, allocations: 85.58 kB / 0.7521 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.757e-06/0.6884, allocations: 0 / 0.7521 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.6885, allocations: 0 / 0.7521 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-06/0.6885, allocations: 0 / 0.7521 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.6891, allocations: 313.2 kB / 0.7524 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.6897, allocations: 94.59 kB / 0.7525 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.6898, allocations: 32.84 kB / 0.7525 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.6898, allocations: 3.984 kB / 0.7525 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.6898, allocations: 34.56 kB / 0.7526 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.383e-06/0.6898, allocations: 0 / 0.7526 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002864/0.6901, allocations: 85.53 kB / 0.7527 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.6902, allocations: 63.34 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.6903, allocations: 101 kB / 0.7528 GB, free: 452 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.6904, allocations: 25.7 kB / 0.7528 GB, free: 420 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.6904, allocations: 100 kB / 0.7529 GB, free: 316 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.6905, allocations: 15.75 kB / 0.7529 GB, free: 300 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.6905, allocations: 3.938 kB / 0.753 GB, free: 296 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6907, allocations: 318.8 kB / 0.7533 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.6908, allocations: 20 kB / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.6908, allocations: 24 kB / 0.7533 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.258e-05/0.6909, allocations: 19.98 kB / 0.7533 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-06/0.6909, allocations: 0 / 0.7533 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002411/0.6912, allocations: 89.72 kB / 0.7534 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6912, allocations: 8 kB / 0.7534 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-06/0.6912, allocations: 0 / 0.7534 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.6913, allocations: 0 / 0.7534 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.6915, allocations: 27.97 kB / 0.7534 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6915, allocations: 7.953 kB / 0.7534 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.6917, allocations: 15.98 kB / 0.7535 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.6917, allocations: 7.984 kB / 0.7535 GB, free: 15.75 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete 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.000101/0.6919, allocations: 104.9 kB / 0.7536 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.6919, allocations: 11.84 kB / 0.7536 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.6922, allocations: 98.28 kB / 0.7537 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-06/0.6922, allocations: 0 / 0.7537 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.6922, allocations: 0 / 0.7537 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-06/0.6923, allocations: 7.938 kB / 0.7537 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.6925, allocations: 170.2 kB / 0.7538 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-06/0.6925, allocations: 0 / 0.7538 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.6928, allocations: 31.97 kB / 0.7539 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-06/0.6928, allocations: 0 / 0.7539 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.6928, allocations: 4 kB / 0.7539 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.769e-06/0.6928, allocations: 15.88 kB / 0.7539 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.939e-06/0.6928, allocations: 0 / 0.7539 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.6931, allocations: 179.8 kB / 0.7541 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.6932, allocations: 89 kB / 0.7541 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.6932, allocations: 0 / 0.7541 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.6935, allocations: 19.98 kB / 0.7542 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.6936, allocations: 19.97 kB / 0.7542 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.6936, allocations: 4 kB / 0.7542 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.6937, allocations: 91.7 kB / 0.7543 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.59e-07/0.6937, allocations: 0 / 0.7543 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003348/0.694, allocations: 16 kB / 0.7543 GB, free: 14.82 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete 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.0001758/0.6942, allocations: 104.4 kB / 0.7544 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.6944, allocations: 63.98 kB / 0.7545 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.679e-06/0.6945, allocations: 7.938 kB / 0.7545 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.6946, allocations: 31.98 kB / 0.7545 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.6948, allocations: 11.95 kB / 0.7545 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.6952, allocations: 105.2 kB / 0.7546 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6956, allocations: 0.6962 MB / 0.7553 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000102/0.6957, allocations: 12.19 kB / 0.7553 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.6958, allocations: 15.42 kB / 0.7553 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.417e-06/0.6958, allocations: 0 / 0.7553 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.004405/0.7002, allocations: 1.234 MB / 0.7565 GB, free: 12.48 MB / 0.6355 GB