Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008958/0.008962, allocations: 108.2 kB / 15.06 MB, free: 6.039 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.001158/0.001158, allocations: 180.1 kB / 15.95 MB, free: 5.957 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.125/2.125, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.151/2.151, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005054, allocations: 16 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/0.5566, allocations: 98.7 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0009622/0.5577, allocations: 318.3 kB / 0.6836 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.5579, allocations: 29.44 kB / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.558, allocations: 1.5 kB / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.558, allocations: 0 / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.5581, allocations: 5.406 kB / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.5583, allocations: 13.42 kB / 0.6837 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.5584, allocations: 2.844 kB / 0.6837 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.5585, allocations: 1.375 kB / 0.6837 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.5585, allocations: 6.047 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.5585, allocations: 11.61 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.5586, allocations: 0 / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.5587, allocations: 15.02 kB / 0.6837 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.5588, allocations: 3.438 kB / 0.6837 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.5588, allocations: 25.7 kB / 0.6838 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.944e-05/0.5589, allocations: 19.81 kB / 0.6838 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5589, allocations: 0 / 0.6838 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.607e-06/0.559, allocations: 1.094 kB / 0.6838 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.559, allocations: 0 / 0.6838 GB, free: 16.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002845/0.5593, allocations: 345.5 kB / 0.6841 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5594, allocations: 10.81 kB / 0.6841 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.5594, allocations: 1.156 kB / 0.6841 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.065e-05/0.5595, allocations: 170.1 kB / 0.6843 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.5595, allocations: 5.266 kB / 0.6843 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.5596, allocations: 5.875 kB / 0.6843 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.5598, allocations: 54.52 kB / 0.6843 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5598, allocations: 0 / 0.6843 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5598, allocations: 1.281 kB / 0.6843 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.5599, allocations: 10.19 kB / 0.6843 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.56, allocations: 23.86 kB / 0.6844 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.5605, allocations: 270.8 kB / 0.6846 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.5605, allocations: 25.62 kB / 0.6847 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.5606, allocations: 1.156 kB / 0.6847 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5606, allocations: 30.56 kB / 0.6847 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 3.674e-06/0.5606, allocations: 1.312 kB / 0.6847 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002641/0.5609, allocations: 71.22 kB / 0.6848 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.561, allocations: 83.17 kB / 0.6848 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5611, allocations: 123.6 kB / 0.6849 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.5612, allocations: 25.83 kB / 0.685 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.5612, allocations: 104.1 kB / 0.6851 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.5613, allocations: 7.469 kB / 0.6851 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-06/0.5613, allocations: 3.938 kB / 0.6851 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.649e-05/0.5614, allocations: 317.4 kB / 0.6854 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.5615, allocations: 9.641 kB / 0.6854 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.5616, allocations: 63.59 kB / 0.6855 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.655e-05/0.5617, allocations: 48.56 kB / 0.6855 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.5617, allocations: 1.125 kB / 0.6855 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003262/0.562, allocations: 119 kB / 0.6856 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.5621, allocations: 32.97 kB / 0.6856 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5621, allocations: 2.844 kB / 0.6857 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.5622, allocations: 7.266 kB / 0.6857 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.5623, allocations: 19.02 kB / 0.6857 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5624, allocations: 3.781 kB / 0.6857 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.5625, allocations: 3.781 kB / 0.6857 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.5626, allocations: 5.75 kB / 0.6857 GB, free: 14.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001104/0.5627, allocations: 147.7 kB / 0.6858 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.5628, allocations: 2.188 kB / 0.6858 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.5628, allocations: 5.891 kB / 0.6858 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-06/0.5628, allocations: 0.9062 kB / 0.6858 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-06/0.5629, allocations: 3.953 kB / 0.6858 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.273e-06/0.5629, allocations: 0.75 kB / 0.6858 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.5631, allocations: 150.5 kB / 0.686 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.5632, allocations: 3.938 kB / 0.686 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-06/0.5632, allocations: 0 / 0.686 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.5632, allocations: 5.766 kB / 0.686 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5632, allocations: 1.312 kB / 0.686 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.121e-06/0.5632, allocations: 0 / 0.686 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.88e-06/0.5633, allocations: 1.219 kB / 0.686 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.5634, allocations: 172.6 kB / 0.6862 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.5635, allocations: 78.3 kB / 0.6862 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.5635, allocations: 9.938 kB / 0.6862 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.5637, allocations: 1.844 kB / 0.6862 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.5637, allocations: 4.641 kB / 0.6863 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.5638, allocations: 2.781 kB / 0.6863 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.5639, allocations: 89.22 kB / 0.6863 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.105e-06/0.5639, allocations: 0 / 0.6863 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006428/0.5645, allocations: 14.05 kB / 0.6864 GB, free: 13.74 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002214/0.5648, allocations: 114.4 kB / 0.6865 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.565, allocations: 91.48 kB / 0.6866 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.08e-06/0.565, allocations: 1.344 kB / 0.6866 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.5651, allocations: 56.36 kB / 0.6866 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.5654, allocations: 1.969 kB / 0.6866 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.5657, allocations: 108.6 kB / 0.6867 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.5659, allocations: 0.6808 MB / 0.6874 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.566, allocations: 16.53 kB / 0.6874 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.5661, allocations: 9.906 kB / 0.6874 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.796e-06/0.5661, allocations: 0 / 0.6874 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.005748/0.5718, allocations: 491.7 kB / 0.6879 GB, free: 12.61 MB / 0.5261 GB