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.01046/0.01046, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001101/0.001101, allocations: 176 kB / 16.06 MB, free: 5.832 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.879/3.879, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.315/4.315, allocations: 472.3 MB / 0.9018 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.00049, allocations: 12.94 kB / 1.008 GB, free: 54.5 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1469, allocations: 98.72 MB / 1.104 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00184/0.1488, allocations: 1.174 MB / 1.105 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004803/0.1493, allocations: 173.8 kB / 1.105 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.1494, allocations: 4 kB / 1.105 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.1495, allocations: 9.953 kB / 1.105 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.1495, allocations: 3.938 kB / 1.105 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.1497, allocations: 35.89 kB / 1.105 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1498, allocations: 71.83 kB / 1.105 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.15, allocations: 17.92 kB / 1.105 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.15, allocations: 33.09 kB / 1.106 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.587e-05/0.1502, allocations: 39.83 kB / 1.106 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1502, allocations: 4 kB / 1.106 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.1502, allocations: 4.5 kB / 1.106 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.1502, allocations: 15.97 kB / 1.106 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.1503, allocations: 35.61 kB / 1.106 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1504, allocations: 63.84 kB / 1.106 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.946e-06/0.1504, allocations: 4 kB / 1.106 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1504, allocations: 0 / 1.106 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.042e-06/0.1505, allocations: 0 / 1.106 GB, free: 4.234 MB / 0.5105 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.0006882/0.1512, allocations: 391.9 kB / 1.106 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1512, allocations: 8.031 kB / 1.106 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1513, allocations: 11.86 kB / 1.106 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1515, allocations: 174.9 kB / 1.106 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1515, allocations: 8 kB / 1.106 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1515, allocations: 4 kB / 1.106 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.1521, allocations: 122.1 kB / 1.106 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.263e-06/0.1521, allocations: 0 / 1.106 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1521, allocations: 4 kB / 1.106 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.035e-06/0.1521, allocations: 4 kB / 1.106 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.1526, allocations: 120 kB / 1.106 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.1534, allocations: 346 kB / 1.107 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.1542, allocations: 132.3 kB / 1.107 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.1545, allocations: 68.75 kB / 1.107 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1546, allocations: 1.656 kB / 1.107 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.1546, allocations: 46.44 kB / 1.107 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 4.194e-06/0.1546, allocations: 0 / 1.107 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0009008/0.1556, allocations: 211.6 kB / 1.107 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1556, allocations: 52.38 kB / 1.107 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1558, allocations: 125.8 kB / 1.107 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.1558, allocations: 27.23 kB / 1.107 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.1559, allocations: 92.05 kB / 1.108 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.156, allocations: 19.73 kB / 1.108 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-06/0.156, allocations: 1.125 kB / 1.108 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1562, allocations: 318.8 kB / 1.108 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.1564, allocations: 54.45 kB / 1.108 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.1567, allocations: 67.89 kB / 1.108 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1569, allocations: 53.47 kB / 1.108 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.424e-06/0.1569, allocations: 0 / 1.108 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006065/0.1576, allocations: 161.4 kB / 1.108 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1576, allocations: 7.953 kB / 1.108 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.1576, allocations: 5 kB / 1.108 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1576, allocations: 0 / 1.108 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.1579, allocations: 33.56 kB / 1.108 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.561e-06/0.1579, allocations: 0 / 1.108 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1581, allocations: 21.86 kB / 1.108 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.1581, allocations: 3.984 kB / 1.108 GB, free: 1.422 MB / 0.5105 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 0.000132/0.1582, allocations: 115.2 kB / 1.108 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.1583, allocations: 11.84 kB / 1.108 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.159, allocations: 179 kB / 1.109 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.311e-06/0.159, allocations: 0 / 1.109 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.378e-06/0.159, allocations: 5.844 kB / 1.109 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-06/0.159, allocations: 3.984 kB / 1.109 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.1593, allocations: 197.5 kB / 1.109 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-06/0.1593, allocations: 0 / 1.109 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.1596, allocations: 34.38 kB / 1.109 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.653e-06/0.1596, allocations: 0 / 1.109 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1596, allocations: 3.984 kB / 1.109 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.565e-06/0.1596, allocations: 3.953 kB / 1.109 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.407e-06/0.1596, allocations: 0 / 1.109 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.1603, allocations: 256.3 kB / 1.109 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.1604, allocations: 89.73 kB / 1.109 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1604, allocations: 0 / 1.109 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1606, allocations: 21.86 kB / 1.109 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.1607, allocations: 19.92 kB / 1.109 GB, free: 424 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1607, allocations: 8.438 kB / 1.109 GB, free: 416 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.1608, allocations: 91.89 kB / 1.109 GB, free: 324 kB / 0.5105 GB Notification: Performance of sort global known variables: time 7.18e-07/0.1609, allocations: 5.312 kB / 1.109 GB, free: 320 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004439/0.1613, allocations: 16 kB / 1.109 GB, free: 304 kB / 0.5105 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.0001466/0.1615, allocations: 104 kB / 1.109 GB, free: 192 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005607/0.162, allocations: 135.9 kB / 1.11 GB, free: 60 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1621, allocations: 1.281 kB / 1.11 GB, free: 60 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.1624, allocations: 73.22 kB / 1.11 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.1628, allocations: 5.25 kB / 1.11 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.1633, allocations: 199.5 kB / 1.11 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1637, allocations: 0.6939 MB / 1.11 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.1639, allocations: 11.58 kB / 1.11 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.1639, allocations: 15.44 kB / 1.11 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.662e-06/0.164, allocations: 0.9062 kB / 1.11 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.004834/0.1688, allocations: 1.3 MB / 1.112 GB, free: 13.74 MB / 0.5261 GB