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.00955/0.009554, allocations: 106.5 kB / 15.06 MB, free: 5.562 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.001129/0.001129, allocations: 176.4 kB / 15.95 MB, free: 5.527 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.141/2.141, allocations: 194.6 MB / 211.3 MB, free: 11.01 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.297/2.297, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 12 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5432, allocations: 98.71 MB / 0.6833 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001472/0.5448, allocations: 1.177 MB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004053/0.5452, allocations: 167.1 kB / 0.6847 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.5453, allocations: 5.062 kB / 0.6847 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.5453, allocations: 6 kB / 0.6847 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.5454, allocations: 13.77 kB / 0.6847 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.5455, allocations: 32.09 kB / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.5456, allocations: 41.14 kB / 0.6847 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.5458, allocations: 25.36 kB / 0.6848 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.5458, allocations: 31.41 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.926e-05/0.546, allocations: 42.75 kB / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.546, allocations: 3.812 kB / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.546, allocations: 3.719 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.546, allocations: 14.39 kB / 0.6849 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.5461, allocations: 36.05 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.5462, allocations: 56.22 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.664e-06/0.5462, allocations: 3.938 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.045e-06/0.5462, allocations: 0 / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.021e-06/0.5462, allocations: 0 / 0.685 GB, free: 15.53 MB / 0.5261 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.0005522/0.5468, allocations: 394.1 kB / 0.6853 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5469, allocations: 9.562 kB / 0.6853 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.5469, allocations: 12.09 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.547, allocations: 170.4 kB / 0.6855 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.5471, allocations: 7.312 kB / 0.6855 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.5471, allocations: 11.19 kB / 0.6855 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.5475, allocations: 110.5 kB / 0.6856 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5475, allocations: 7.875 kB / 0.6856 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.5475, allocations: 0.6094 kB / 0.6856 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5475, allocations: 2.75 kB / 0.6857 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.5481, allocations: 124 kB / 0.6858 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.5486, allocations: 342 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.5494, allocations: 135.8 kB / 0.6862 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.5495, allocations: 1.312 kB / 0.6862 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.5495, allocations: 35.17 kB / 0.6863 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.572e-06/0.5495, allocations: 1.031 kB / 0.6863 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0008545/0.5504, allocations: 219.5 kB / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.5504, allocations: 53.31 kB / 0.6865 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.5505, allocations: 119.1 kB / 0.6866 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.5505, allocations: 29.7 kB / 0.6867 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.5506, allocations: 95.66 kB / 0.6868 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.5506, allocations: 23.02 kB / 0.6868 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-06/0.5506, allocations: 4 kB / 0.6868 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.5507, allocations: 323.9 kB / 0.6871 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.5509, allocations: 51.31 kB / 0.6871 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.5512, allocations: 58.77 kB / 0.6872 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.5514, allocations: 54.66 kB / 0.6872 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-06/0.5515, allocations: 4 kB / 0.6872 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005602/0.552, allocations: 155.6 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5521, allocations: 9.266 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.701e-06/0.5521, allocations: 1.891 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5521, allocations: 3.938 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.5524, allocations: 29.73 kB / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-06/0.5524, allocations: 0 / 0.6874 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.5525, allocations: 22.11 kB / 0.6875 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.5526, allocations: 7.922 kB / 0.6875 GB, free: 13.63 MB / 0.5261 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 9.154e-05/0.5527, allocations: 112.4 kB / 0.6876 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.5528, allocations: 7.531 kB / 0.6876 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.5534, allocations: 183.3 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-06/0.5534, allocations: 1.5 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-06/0.5534, allocations: 0 / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-06/0.5534, allocations: 4 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.5537, allocations: 198 kB / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5537, allocations: 0 / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.5539, allocations: 29.12 kB / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.46e-06/0.5539, allocations: 0 / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.554, allocations: 2.172 kB / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.731e-06/0.554, allocations: 6.359 kB / 0.688 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.226e-06/0.554, allocations: 0 / 0.688 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.5546, allocations: 266.1 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.5546, allocations: 83.42 kB / 0.6883 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.5547, allocations: 1 kB / 0.6883 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.5549, allocations: 21.3 kB / 0.6883 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.555, allocations: 26.47 kB / 0.6884 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.555, allocations: 7.516 kB / 0.6884 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.5551, allocations: 96.42 kB / 0.6885 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.18e-07/0.5551, allocations: 3.938 kB / 0.6885 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003345/0.5554, allocations: 20.09 kB / 0.6885 GB, free: 12.83 MB / 0.5261 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.y,reaToInt.y,reaToInt1.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.0001262/0.5556, allocations: 99.58 kB / 0.6886 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005766/0.5562, allocations: 128.2 kB / 0.6887 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5562, allocations: 0 / 0.6887 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.5565, allocations: 75.03 kB / 0.6888 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.5568, allocations: 9.391 kB / 0.6888 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.5573, allocations: 187.8 kB / 0.689 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.5574, allocations: 0.6958 MB / 0.6896 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.5576, allocations: 12.83 kB / 0.6897 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.5576, allocations: 14.67 kB / 0.6897 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.558e-06/0.5577, allocations: 1.062 kB / 0.6897 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.004792/0.5625, allocations: 1.302 MB / 0.6909 GB, free: 11.73 MB / 0.5261 GB