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.009015/0.009015, allocations: 110.6 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.001108/0.001108, allocations: 184.1 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.126/2.126, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.223/2.223, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6342/0.6347, allocations: 98.72 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.8588, allocations: 124.7 MB / 0.8051 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.8591, allocations: 71.95 kB / 0.8052 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008044/0.8671, allocations: 1.451 MB / 0.8066 GB, free: 92 kB / 0.6198 GB Notification: Performance of FrontEnd: time 3.062e-06/0.8672, allocations: 0 / 0.8066 GB, free: 92 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.879e-06/0.8672, allocations: 0 / 0.8066 GB, free: 92 kB / 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.00092/0.8682, allocations: 391.1 kB / 0.807 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8682, allocations: 8.031 kB / 0.807 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.8683, allocations: 7.906 kB / 0.807 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.8686, allocations: 182.9 kB / 0.8072 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.8686, allocations: 8 kB / 0.8072 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.8687, allocations: 8 kB / 0.8072 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.8693, allocations: 113.6 kB / 0.8073 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.8693, allocations: 0 / 0.8073 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.8694, allocations: 0 / 0.8073 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.481e-06/0.8694, allocations: 0 / 0.8073 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.8703, allocations: 135.8 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009495/0.8712, allocations: 340.6 kB / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.8725, allocations: 134.5 kB / 0.8079 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.8725, allocations: 0 / 0.8079 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.8726, allocations: 38.5 kB / 0.8079 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.916e-06/0.8726, allocations: 0 / 0.8079 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001516/0.8741, allocations: 221.4 kB / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.8742, allocations: 51.41 kB / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.8744, allocations: 109 kB / 0.8083 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.8745, allocations: 25.7 kB / 0.8083 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.8746, allocations: 104 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.8747, allocations: 11.81 kB / 0.8084 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.8747, allocations: 11.94 kB / 0.8084 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.8749, allocations: 314.8 kB / 0.8087 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.8754, allocations: 55.95 kB / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.8758, allocations: 64.09 kB / 0.8088 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.8762, allocations: 56.42 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-06/0.8763, allocations: 4 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001047/0.8773, allocations: 157.5 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.8774, allocations: 11.94 kB / 0.809 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8774, allocations: 3.984 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.8774, allocations: 4 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.8779, allocations: 31.92 kB / 0.8091 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8779, allocations: 0 / 0.8091 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.8782, allocations: 23.92 kB / 0.8091 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.8783, allocations: 4 kB / 0.8091 GB, free: 13.3 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 () * 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.0001838/0.8785, allocations: 113.8 kB / 0.8092 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.8786, allocations: 7.891 kB / 0.8092 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.8797, allocations: 174 kB / 0.8094 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.8798, allocations: 0 / 0.8094 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.8798, allocations: 3.953 kB / 0.8094 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.319e-06/0.8798, allocations: 4 kB / 0.8094 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.8803, allocations: 201.6 kB / 0.8096 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-06/0.8804, allocations: 0 / 0.8096 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.8808, allocations: 31.91 kB / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.773e-06/0.8808, allocations: 0 / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.8808, allocations: 0 / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.8809, allocations: 4 kB / 0.8096 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.177e-06/0.8809, allocations: 0 / 0.8096 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.882, allocations: 263.3 kB / 0.8099 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.8822, allocations: 85 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.8822, allocations: 0 / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.8826, allocations: 15.98 kB / 0.81 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.8828, allocations: 23.97 kB / 0.81 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.8828, allocations: 4 kB / 0.81 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001255/0.883, allocations: 103.6 kB / 0.8101 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.779e-06/0.883, allocations: 3.938 kB / 0.8101 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000646/0.8837, allocations: 23.89 kB / 0.8101 GB, free: 12.16 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 () * 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.0002211/0.8839, allocations: 115.3 kB / 0.8102 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009964/0.8849, allocations: 127.9 kB / 0.8104 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.155e-06/0.885, allocations: 0 / 0.8104 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005513/0.8855, allocations: 75.88 kB / 0.8104 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.886, allocations: 8 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.8868, allocations: 189.3 kB / 0.8106 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.8873, allocations: 0.695 MB / 0.8113 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001908/0.8875, allocations: 12.19 kB / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.8877, allocations: 15.42 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of SimCode: time 2.492e-06/0.8877, allocations: 0 / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.00773/0.8954, allocations: 1.306 MB / 0.8126 GB, free: 9.562 MB / 0.6355 GB