Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average.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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01824/0.01824, allocations: 223 kB / 15.17 MB, free: 5.93 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.001859/0.001859, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.939/3.939, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.301/4.301, allocations: 472.3 MB / 0.9018 GB, free: 13.37 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004723, allocations: 16 kB / 1.008 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4901, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001338/0.4915, allocations: 1.228 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.4918, allocations: 100.5 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.4918, allocations: 4 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 8.854e-05/0.4919, allocations: 11.08 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.492, allocations: 4.781 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.4922, allocations: 27.95 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.4922, allocations: 47.84 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.4923, allocations: 19.52 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.4924, allocations: 19.92 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.4925, allocations: 23.86 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.4925, allocations: 4 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.4925, allocations: 7.984 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.4926, allocations: 15.97 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.4926, allocations: 34.3 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 8.063e-05/0.4927, allocations: 35.88 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.216e-06/0.4927, allocations: 0 / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.8e-06/0.4927, allocations: 2.312 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.838e-06/0.4928, allocations: 0 / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004237/0.4932, allocations: 378.9 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.4932, allocations: 8.031 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.4933, allocations: 8.938 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4934, allocations: 186.9 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-06/0.4934, allocations: 6.812 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4935, allocations: 4 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.4938, allocations: 101 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.318e-06/0.4938, allocations: 0 / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4938, allocations: 0.9375 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-06/0.4938, allocations: 0 / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.4942, allocations: 104.2 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.4947, allocations: 339.8 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.4949, allocations: 75.42 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4951, allocations: 53.66 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.4952, allocations: 4 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.4952, allocations: 30.56 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.869e-06/0.4952, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006238/0.4958, allocations: 185.2 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4959, allocations: 51.41 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.496, allocations: 119.5 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.496, allocations: 29.7 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.496, allocations: 92.05 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.4961, allocations: 10.81 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-06/0.4961, allocations: 0 / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.4962, allocations: 322.8 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.4963, allocations: 42.81 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.4965, allocations: 43.95 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.4967, allocations: 49.42 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4967, allocations: 4.062 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003902/0.4971, allocations: 133.1 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4971, allocations: 4 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.357e-06/0.4972, allocations: 0 / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4972, allocations: 3.953 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.4973, allocations: 23.97 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.218e-06/0.4974, allocations: 0.5625 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.4975, allocations: 19.11 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.4975, allocations: 0 / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.754e-05/0.4976, allocations: 113.8 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.4976, allocations: 4 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.4981, allocations: 144.9 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-06/0.4981, allocations: 1.906 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-06/0.4981, allocations: 3.953 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.769e-06/0.4981, allocations: 0 / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4983, allocations: 177.5 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-06/0.4983, allocations: 3.938 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.4984, allocations: 23.97 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.453e-06/0.4984, allocations: 1.906 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4985, allocations: 7.094 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.14e-06/0.4985, allocations: 0 / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.771e-06/0.4985, allocations: 4 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.4989, allocations: 221.8 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.4989, allocations: 93.89 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.499, allocations: 0 / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4991, allocations: 15.98 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.4992, allocations: 4.922 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4992, allocations: 4 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.4993, allocations: 91.23 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.52e-07/0.4993, allocations: 0.7812 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003123/0.4996, allocations: 11.98 kB / 1.109 GB, free: 178.7 MB / 0.6823 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 (3): * Single equations (assignments): 3 * 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.0001213/0.4997, allocations: 105.1 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.5001, allocations: 101.6 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.626e-06/0.5002, allocations: 0.8438 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.5004, allocations: 51.89 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.5007, allocations: 13.08 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.5011, allocations: 156.9 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.5012, allocations: 0.6999 MB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.401e-05/0.5013, allocations: 8.875 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.5013, allocations: 8.281 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.351e-06/0.5014, allocations: 0 / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.003043/0.5044, allocations: 0.6115 MB / 1.11 GB, free: 177 MB / 0.6823 GB