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.Continuous.Validation.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.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004197/0.004196, allocations: 226.4 kB / 15.82 MB, free: 6.301 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.001181/0.001181, allocations: 177.3 kB / 16.71 MB, free: 5.453 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.708/3.708, allocations: 389.1 MB / 406.5 MB, free: 6.797 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.448/4.448, allocations: 472.3 MB / 0.9024 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006908/0.0006911, allocations: 16 kB / 1.008 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2185, allocations: 98.71 MB / 1.105 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7957/1.014, allocations: 124.2 MB / 1.226 GB, free: 200 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.015, allocations: 76.47 kB / 1.226 GB, free: 200 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.003138/1.018, allocations: 0.8324 MB / 1.227 GB, free: 199.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.094e-06/1.018, allocations: 1.5 kB / 1.227 GB, free: 199.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.018, allocations: 0 / 1.227 GB, free: 199.4 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005219/1.018, allocations: 370 kB / 1.227 GB, free: 199 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.018, allocations: 9.188 kB / 1.227 GB, free: 199 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/1.019, allocations: 4 kB / 1.227 GB, free: 199 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/1.019, allocations: 180.5 kB / 1.227 GB, free: 198.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.019, allocations: 1 kB / 1.227 GB, free: 198.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/1.019, allocations: 1.172 kB / 1.227 GB, free: 198.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/1.019, allocations: 82.86 kB / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.019, allocations: 0 / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/1.019, allocations: 0 / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.019, allocations: 2.25 kB / 1.228 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/1.02, allocations: 86.09 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/1.02, allocations: 311.7 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/1.021, allocations: 64.03 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/1.021, allocations: 53.23 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/1.021, allocations: 3.984 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/1.021, allocations: 35.16 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/1.021, allocations: 2.781 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0008782/1.022, allocations: 160 kB / 1.228 GB, free: 198.1 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/1.022, allocations: 55.36 kB / 1.228 GB, free: 198 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/1.022, allocations: 115.6 kB / 1.228 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.022, allocations: 28.81 kB / 1.228 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/1.022, allocations: 89.39 kB / 1.228 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/1.022, allocations: 3.906 kB / 1.228 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/1.022, allocations: 4 kB / 1.228 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/1.022, allocations: 318.4 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/1.022, allocations: 42.27 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/1.023, allocations: 38.3 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/1.023, allocations: 44.59 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.023, allocations: 0 / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005526/1.023, allocations: 125.6 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.024, allocations: 6.188 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.024, allocations: 0 / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.024, allocations: 5.5 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/1.024, allocations: 19.42 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.024, allocations: 3.953 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/1.024, allocations: 21.09 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/1.024, allocations: 4 kB / 1.229 GB, free: 197.3 MB / 0.7917 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 7.995e-05/1.024, allocations: 115.4 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/1.024, allocations: 9.031 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/1.024, allocations: 3.906 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.024, allocations: 0 / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.024, allocations: 1.828 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.024, allocations: 3.953 kB / 1.229 GB, free: 197.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/1.024, allocations: 167.2 kB / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.024, allocations: 0 / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.025, allocations: 23.03 kB / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.025, allocations: 0.6094 kB / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.025, allocations: 2.75 kB / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.025, allocations: 8.203 kB / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.025, allocations: 0 / 1.229 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/1.025, allocations: 227.6 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/1.025, allocations: 82.33 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/1.025, allocations: 0 / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.025, allocations: 21.5 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/1.026, allocations: 5.359 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.026, allocations: 0 / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.494e-05/1.026, allocations: 85.78 kB / 1.23 GB, free: 196.5 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.6e-07/1.026, allocations: 0 / 1.23 GB, free: 196.5 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002865/1.026, allocations: 11.62 kB / 1.23 GB, free: 196.5 MB / 0.7917 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.0001183/1.026, allocations: 106.5 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005528/1.027, allocations: 93.42 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.027, allocations: 0 / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/1.027, allocations: 44.84 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/1.027, allocations: 12.77 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/1.028, allocations: 135.7 kB / 1.23 GB, free: 196.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/1.028, allocations: 0.6824 MB / 1.231 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 5.523e-05/1.028, allocations: 3.844 kB / 1.231 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/1.028, allocations: 7.438 kB / 1.231 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/1.028, allocations: 3.094 kB / 1.231 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of Templates: time 0.003274/1.031, allocations: 0.5156 MB / 1.231 GB, free: 195.2 MB / 0.7917 GB