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.MultiSum.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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01291/0.01292, allocations: 108.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.002002/0.002002, allocations: 180.2 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.921/1.921, allocations: 194.6 MB / 211.3 MB, free: 11.31 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.317/2.317, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004748, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5711, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001764/0.5729, allocations: 1.236 MB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000508/0.5734, allocations: 209.1 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.5735, allocations: 1.219 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.297e-05/0.5736, allocations: 10.66 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.5737, allocations: 16.83 kB / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.5739, allocations: 46.34 kB / 0.6848 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.5741, allocations: 73.23 kB / 0.6849 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.5742, allocations: 31.36 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.5743, allocations: 42.72 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.5744, allocations: 63.81 kB / 0.685 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.5745, allocations: 9.031 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.5745, allocations: 6.562 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.5746, allocations: 28.19 kB / 0.6851 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.5746, allocations: 38.61 kB / 0.6851 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.5748, allocations: 96.75 kB / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.621e-06/0.5748, allocations: 0 / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.426e-06/0.5748, allocations: 0.6094 kB / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.28e-06/0.5748, allocations: 0 / 0.6852 GB, free: 15.47 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007667/0.5756, allocations: 438 kB / 0.6856 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5757, allocations: 9.281 kB / 0.6856 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.5757, allocations: 21.97 kB / 0.6856 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.5759, allocations: 200.2 kB / 0.6858 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.576, allocations: 15.84 kB / 0.6859 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.576, allocations: 13.86 kB / 0.6859 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.5765, allocations: 159.9 kB / 0.686 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.411e-06/0.5766, allocations: 5.375 kB / 0.686 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.5766, allocations: 4 kB / 0.686 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.649e-06/0.5766, allocations: 3.344 kB / 0.686 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.5774, allocations: 188.2 kB / 0.6862 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.5782, allocations: 413.9 kB / 0.6866 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.5792, allocations: 190.8 kB / 0.6868 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.5793, allocations: 7.984 kB / 0.6868 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.5793, allocations: 32.75 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.828e-06/0.5793, allocations: 5.156 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.001239/0.5806, allocations: 326.5 kB / 0.6871 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.5806, allocations: 57 kB / 0.6872 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5808, allocations: 150.6 kB / 0.6873 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.5808, allocations: 29.7 kB / 0.6874 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.5809, allocations: 105.5 kB / 0.6875 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.5809, allocations: 24.86 kB / 0.6875 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.5809, allocations: 5.031 kB / 0.6875 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.581, allocations: 324.8 kB / 0.6878 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.5814, allocations: 85.88 kB / 0.6879 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.5818, allocations: 93.53 kB / 0.688 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.5822, allocations: 91.55 kB / 0.6881 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-06/0.5822, allocations: 0 / 0.6881 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008243/0.5831, allocations: 241.9 kB / 0.6883 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5831, allocations: 5.469 kB / 0.6883 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.988e-06/0.5831, allocations: 0 / 0.6883 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5831, allocations: 1.719 kB / 0.6883 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.5835, allocations: 46.5 kB / 0.6883 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5835, allocations: 5.547 kB / 0.6884 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.5837, allocations: 29.89 kB / 0.6884 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.5838, allocations: 16.67 kB / 0.6884 GB, free: 13.37 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001199/0.5839, allocations: 118.8 kB / 0.6885 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.584, allocations: 7.562 kB / 0.6885 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.584, allocations: 22.22 kB / 0.6885 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.806e-06/0.5841, allocations: 1.375 kB / 0.6885 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.865e-06/0.5841, allocations: 4.609 kB / 0.6885 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.401e-06/0.5841, allocations: 0.5625 kB / 0.6885 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.5844, allocations: 242.1 kB / 0.6888 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-06/0.5844, allocations: 1 kB / 0.6888 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.5848, allocations: 42.86 kB / 0.6888 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.123e-06/0.5848, allocations: 5.031 kB / 0.6888 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.5848, allocations: 2.844 kB / 0.6888 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.012e-06/0.5848, allocations: 0.9688 kB / 0.6888 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-06/0.5849, allocations: 0 / 0.6888 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.5858, allocations: 343.1 kB / 0.6892 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.5858, allocations: 84.55 kB / 0.6892 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.5859, allocations: 1.703 kB / 0.6892 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.5861, allocations: 33.88 kB / 0.6893 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5863, allocations: 32.33 kB / 0.6893 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.5863, allocations: 5.594 kB / 0.6893 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.386e-05/0.5864, allocations: 119.3 kB / 0.6894 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.24e-07/0.5864, allocations: 0 / 0.6894 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003522/0.5868, allocations: 26.58 kB / 0.6894 GB, free: 12.59 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001254/0.5869, allocations: 105.7 kB / 0.6895 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000817/0.5878, allocations: 205.4 kB / 0.6897 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.013e-06/0.5878, allocations: 0 / 0.6897 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.5882, allocations: 120.2 kB / 0.6899 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.5885, allocations: 13.8 kB / 0.6899 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.5892, allocations: 272.5 kB / 0.6901 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.5893, allocations: 0.708 MB / 0.6908 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.5895, allocations: 21.23 kB / 0.6908 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.5896, allocations: 23.73 kB / 0.6909 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of SimCode: time 1.586e-06/0.5896, allocations: 0 / 0.6909 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of Templates: time 0.006775/0.5964, allocations: 1.971 MB / 0.6928 GB, free: 11.38 MB / 0.5261 GB