Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.036/4.036, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.751e-05, allocations: 8 kB / 0.5325 GB, free: 1.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4973, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.6861, allocations: 123.5 MB / 0.7496 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.6864, allocations: 71.95 kB / 0.7496 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002769/0.6892, allocations: 0.8224 MB / 0.7504 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.488e-06/0.6892, allocations: 0 / 0.7504 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6892, allocations: 4 kB / 0.7504 GB, free: 3.133 MB / 0.6198 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.0004719/0.6897, allocations: 354.5 kB / 0.7508 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6898, allocations: 12.03 kB / 0.7508 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.6898, allocations: 3.906 kB / 0.7508 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.69, allocations: 167 kB / 0.7509 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.69, allocations: 0 / 0.7509 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.69, allocations: 4 kB / 0.7509 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.507e-05/0.6901, allocations: 16 kB / 0.751 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.6903, allocations: 49.62 kB / 0.751 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6903, allocations: 3.984 kB / 0.751 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.6903, allocations: 0 / 0.751 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-06/0.6903, allocations: 0 / 0.751 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.6909, allocations: 285.4 kB / 0.7513 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.691, allocations: 30.58 kB / 0.7513 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.691, allocations: 12.95 kB / 0.7513 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.6911, allocations: 7.922 kB / 0.7513 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.6911, allocations: 38.5 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.142e-06/0.6911, allocations: 0 / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001902/0.6913, allocations: 49.61 kB / 0.7514 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.6914, allocations: 55.41 kB / 0.7515 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.376e-05/0.6915, allocations: 101 kB / 0.7516 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6915, allocations: 25.7 kB / 0.7516 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.6916, allocations: 88.08 kB / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.6916, allocations: 7.906 kB / 0.7517 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/0.6916, allocations: 0 / 0.7517 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6918, allocations: 322.8 kB / 0.752 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.6918, allocations: 4 kB / 0.752 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.6919, allocations: 12 kB / 0.752 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.6919, allocations: 8 kB / 0.752 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-06/0.6919, allocations: 0 / 0.752 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001264/0.6921, allocations: 61.53 kB / 0.7521 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6921, allocations: 5.875 kB / 0.7521 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6921, allocations: 0 / 0.7521 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6921, allocations: 0 / 0.7521 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.6923, allocations: 19.98 kB / 0.7521 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.6923, allocations: 4 kB / 0.7521 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.6924, allocations: 19.98 kB / 0.7521 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.6925, allocations: 8.297 kB / 0.7521 GB, free: 1.195 MB / 0.6198 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 () * 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 8.487e-05/0.6926, allocations: 104.9 kB / 0.7522 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.6926, allocations: 0 / 0.7522 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.6926, allocations: 8.344 kB / 0.7522 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6927, allocations: 4 kB / 0.7522 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.77e-06/0.6927, allocations: 0 / 0.7522 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-06/0.6927, allocations: 0 / 0.7522 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.6929, allocations: 154.2 kB / 0.7524 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-06/0.6929, allocations: 0 / 0.7524 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.693, allocations: 23.97 kB / 0.7524 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.088e-06/0.6931, allocations: 0 / 0.7524 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-06/0.6931, allocations: 0 / 0.7524 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.25e-06/0.6931, allocations: 0 / 0.7524 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.542e-06/0.6931, allocations: 7.938 kB / 0.7524 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.6933, allocations: 151.4 kB / 0.7526 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.6933, allocations: 77.34 kB / 0.7526 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.6934, allocations: 0 / 0.7526 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.6935, allocations: 15.98 kB / 0.7527 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.6936, allocations: 19.97 kB / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.6936, allocations: 0 / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.6937, allocations: 87.2 kB / 0.7528 GB, free: 488 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7.26e-07/0.6937, allocations: 3.938 kB / 0.7528 GB, free: 484 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002919/0.694, allocations: 11.94 kB / 0.7528 GB, free: 472 kB / 0.6198 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 () * 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.0001444/0.6941, allocations: 99.25 kB / 0.7529 GB, free: 360 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.6943, allocations: 27.92 kB / 0.7529 GB, free: 332 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6943, allocations: 0 / 0.7529 GB, free: 332 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.6944, allocations: 16 kB / 0.7529 GB, free: 316 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.6946, allocations: 11.95 kB / 0.7529 GB, free: 304 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.6949, allocations: 67.84 kB / 0.753 GB, free: 212 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.6953, allocations: 0.6846 MB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.6953, allocations: 4 kB / 0.7537 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.6954, allocations: 11.44 kB / 0.7537 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.573e-06/0.6954, allocations: 0 / 0.7537 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.002818/0.6982, allocations: 490.5 kB / 0.7541 GB, free: 15.01 MB / 0.6355 GB