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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.046/4.046, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.97e-05, allocations: 3.969 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.205, allocations: 98.73 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.4059, allocations: 124.6 MB / 0.7564 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4062, allocations: 71.95 kB / 0.7565 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006404/0.4126, allocations: 1.458 MB / 0.7579 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4127, allocations: 0 / 0.7579 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.4127, allocations: 4 kB / 0.7579 GB, free: 3.59 MB / 0.6355 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.0005929/0.4133, allocations: 378.3 kB / 0.7582 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4134, allocations: 15.97 kB / 0.7583 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.4134, allocations: 11.89 kB / 0.7583 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.4136, allocations: 178.9 kB / 0.7584 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.4136, allocations: 0 / 0.7584 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4137, allocations: 8 kB / 0.7585 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.4139, allocations: 77.66 kB / 0.7585 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.875e-06/0.4139, allocations: 0 / 0.7585 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4139, allocations: 0 / 0.7585 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.414, allocations: 4 kB / 0.7585 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.4142, allocations: 51.92 kB / 0.7586 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.4148, allocations: 344.7 kB / 0.7589 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.4154, allocations: 98.58 kB / 0.759 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/0.4155, allocations: 36.86 kB / 0.759 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4155, allocations: 0 / 0.759 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.4156, allocations: 38.55 kB / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.018e-06/0.4156, allocations: 0 / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003029/0.4159, allocations: 85.55 kB / 0.7592 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.416, allocations: 51.41 kB / 0.7592 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.4161, allocations: 120.9 kB / 0.7593 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4162, allocations: 25.7 kB / 0.7593 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4162, allocations: 104 kB / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.4163, allocations: 15.69 kB / 0.7595 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.4163, allocations: 0 / 0.7595 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4165, allocations: 322.8 kB / 0.7598 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.4166, allocations: 21.81 kB / 0.7598 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.4167, allocations: 24.06 kB / 0.7598 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.4168, allocations: 28.12 kB / 0.7598 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.379e-06/0.4168, allocations: 0 / 0.7598 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002426/0.417, allocations: 85.59 kB / 0.7599 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.417, allocations: 11.98 kB / 0.7599 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-06/0.4171, allocations: 0 / 0.7599 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4171, allocations: 3.953 kB / 0.7599 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.4174, allocations: 31.91 kB / 0.76 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.22e-06/0.4174, allocations: 0 / 0.76 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.4176, allocations: 23.98 kB / 0.76 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4176, allocations: 4 kB / 0.76 GB, free: 1.223 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.0001001/0.4177, allocations: 105 kB / 0.7601 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.4178, allocations: 3.906 kB / 0.7601 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.4181, allocations: 106.3 kB / 0.7602 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.4181, allocations: 0 / 0.7602 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4181, allocations: 3.953 kB / 0.7602 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-06/0.4182, allocations: 0 / 0.7602 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.4185, allocations: 205.5 kB / 0.7604 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.225e-06/0.4185, allocations: 4 kB / 0.7604 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.4187, allocations: 31.91 kB / 0.7604 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.531e-06/0.4187, allocations: 0 / 0.7604 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4188, allocations: 0 / 0.7604 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.909e-06/0.4188, allocations: 4 kB / 0.7604 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.434e-06/0.4188, allocations: 0 / 0.7604 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.4191, allocations: 199.3 kB / 0.7606 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.4192, allocations: 81.02 kB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.4192, allocations: 4 kB / 0.7607 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4194, allocations: 19.98 kB / 0.7607 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.4196, allocations: 19.97 kB / 0.7607 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4196, allocations: 4 kB / 0.7607 GB, free: 352 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.906e-05/0.4197, allocations: 99.22 kB / 0.7608 GB, free: 252 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/0.4197, allocations: 7.938 kB / 0.7609 GB, free: 244 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003482/0.4201, allocations: 19.94 kB / 0.7609 GB, free: 224 kB / 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.0001647/0.4202, allocations: 99.25 kB / 0.761 GB, free: 116 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4205, allocations: 63.97 kB / 0.761 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.52e-06/0.4205, allocations: 0 / 0.761 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.4206, allocations: 35.92 kB / 0.7611 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4209, allocations: 12 kB / 0.7611 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.4213, allocations: 113.4 kB / 0.7612 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.4217, allocations: 0.6926 MB / 0.7619 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.4218, allocations: 16.12 kB / 0.7619 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.4219, allocations: 15.42 kB / 0.7619 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.393e-06/0.4219, allocations: 0 / 0.7619 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.006555/0.4285, allocations: 1.323 MB / 0.7632 GB, free: 13.8 MB / 0.6511 GB