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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01564/0.01565, allocations: 109.8 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.00183/0.00183, allocations: 179.9 kB / 15.95 MB, free: 5.523 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 1.832/1.832, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.338/2.338, allocations: 236.2 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004701, allocations: 16 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5408/0.5413, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001442/0.5428, allocations: 1.18 MB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003779/0.5432, allocations: 165.1 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.5433, allocations: 1.281 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.5433, allocations: 5.484 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.5434, allocations: 15.42 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.5436, allocations: 34.17 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.5437, allocations: 47.34 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.5438, allocations: 22.36 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.5439, allocations: 30.66 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.544, allocations: 43.56 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.544, allocations: 7.281 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.544, allocations: 4.219 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.5441, allocations: 15.02 kB / 0.6849 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.5441, allocations: 33.42 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.5442, allocations: 60.42 kB / 0.685 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.649e-06/0.5442, allocations: 0 / 0.685 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.872e-06/0.5442, allocations: 0 / 0.685 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.865e-06/0.5443, allocations: 1.25 kB / 0.685 GB, free: 15.67 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.0005533/0.5448, allocations: 391.6 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5449, allocations: 10.19 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.5449, allocations: 19.92 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.545, allocations: 182.1 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.5451, allocations: 7.125 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.5451, allocations: 4.031 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.5455, allocations: 113.4 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5455, allocations: 1.219 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.5455, allocations: 4 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.488e-06/0.5456, allocations: 2.562 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.5461, allocations: 121.1 kB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.5467, allocations: 355.8 kB / 0.6861 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.5474, allocations: 135.5 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.5475, allocations: 2.125 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.5475, allocations: 35.89 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 3.211e-06/0.5475, allocations: 3.984 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0008551/0.5484, allocations: 216.4 kB / 0.6865 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.5484, allocations: 52.75 kB / 0.6865 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5485, allocations: 129.9 kB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.5486, allocations: 26.92 kB / 0.6867 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.5486, allocations: 97.05 kB / 0.6868 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.5487, allocations: 19.64 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-06/0.5487, allocations: 5.281 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.5488, allocations: 322.5 kB / 0.6871 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.549, allocations: 54.12 kB / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.5493, allocations: 58.55 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.5495, allocations: 52.98 kB / 0.6873 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5496, allocations: 0 / 0.6873 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005537/0.5501, allocations: 158 kB / 0.6874 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5502, allocations: 9.234 kB / 0.6874 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5502, allocations: 4 kB / 0.6874 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5502, allocations: 2.172 kB / 0.6874 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.5505, allocations: 32.16 kB / 0.6875 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.5505, allocations: 5.578 kB / 0.6875 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5506, allocations: 25.56 kB / 0.6875 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.5507, allocations: 7.469 kB / 0.6875 GB, free: 13.74 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 (add1.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 8.238e-05/0.5508, allocations: 113.8 kB / 0.6876 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.5508, allocations: 7.891 kB / 0.6876 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.5509, allocations: 15.17 kB / 0.6876 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-06/0.5509, allocations: 1.469 kB / 0.6876 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5509, allocations: 0 / 0.6876 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.438e-06/0.5509, allocations: 0 / 0.6876 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.5511, allocations: 200.3 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-06/0.5512, allocations: 2.094 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.5514, allocations: 35.02 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.392e-06/0.5514, allocations: 2.312 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5514, allocations: 2 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.186e-06/0.5514, allocations: 4.938 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-06/0.5514, allocations: 0 / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.552, allocations: 258.2 kB / 0.6881 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.5521, allocations: 92.06 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.5521, allocations: 9.812 kB / 0.6882 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.5523, allocations: 16.38 kB / 0.6882 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.5524, allocations: 26.33 kB / 0.6883 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.5525, allocations: 3.734 kB / 0.6883 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.5525, allocations: 94.42 kB / 0.6884 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.13e-07/0.5525, allocations: 0 / 0.6884 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003239/0.5529, allocations: 16.91 kB / 0.6884 GB, free: 13.02 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 (add1.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.000105/0.553, allocations: 103 kB / 0.6885 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.5536, allocations: 135.4 kB / 0.6886 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.67e-06/0.5536, allocations: 0 / 0.6886 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.5539, allocations: 70.91 kB / 0.6887 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.5542, allocations: 10.27 kB / 0.6887 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.5547, allocations: 193 kB / 0.6889 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.5548, allocations: 0.6994 MB / 0.6895 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.555, allocations: 16.06 kB / 0.6896 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.555, allocations: 15.41 kB / 0.6896 GB, free: 12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.435e-06/0.5551, allocations: 0 / 0.6896 GB, free: 12 MB / 0.5261 GB Notification: Performance of Templates: time 0.004677/0.5597, allocations: 1.315 MB / 0.6909 GB, free: 11.9 MB / 0.5261 GB