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.008919/0.008919, allocations: 111.4 kB / 15.06 MB, free: 6.031 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.001099/0.001099, allocations: 188.5 kB / 15.95 MB, free: 5.965 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.082/2.082, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.21/2.21, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004969, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6429/0.6435, allocations: 98.7 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.8234, allocations: 124.3 MB / 0.8047 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.8237, allocations: 71.95 kB / 0.8048 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002827/0.8265, allocations: 0.8263 MB / 0.8056 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.056e-06/0.8266, allocations: 0 / 0.8056 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.381e-06/0.8266, allocations: 0 / 0.8056 GB, free: 1.145 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.0004941/0.8271, allocations: 371.1 kB / 0.8059 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.8271, allocations: 8.031 kB / 0.8059 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.8272, allocations: 4 kB / 0.806 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.8273, allocations: 182.9 kB / 0.8061 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.8274, allocations: 4 kB / 0.8061 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.8274, allocations: 0 / 0.8061 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.8277, allocations: 81.66 kB / 0.8062 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-06/0.8277, allocations: 0 / 0.8062 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.8277, allocations: 0 / 0.8062 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.709e-06/0.8277, allocations: 0 / 0.8062 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.8281, allocations: 87.92 kB / 0.8063 GB, free: 336 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.8287, allocations: 308.7 kB / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.829, allocations: 66.53 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.829, allocations: 0 / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.8291, allocations: 38.56 kB / 0.8067 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.877e-06/0.8291, allocations: 3.938 kB / 0.8067 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0006483/0.8297, allocations: 165.6 kB / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.8298, allocations: 51.41 kB / 0.8069 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.8299, allocations: 101 kB / 0.807 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.8299, allocations: 25.7 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.83, allocations: 96.03 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.83, allocations: 3.906 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.83, allocations: 0 / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8302, allocations: 318.8 kB / 0.8074 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.8304, allocations: 43.95 kB / 0.8075 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.8306, allocations: 43.97 kB / 0.8075 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.8308, allocations: 43.95 kB / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8308, allocations: 0 / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000411/0.8312, allocations: 117.6 kB / 0.8077 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.8312, allocations: 5.406 kB / 0.8077 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-06/0.8313, allocations: 0 / 0.8077 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.8313, allocations: 4 kB / 0.8077 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.8314, allocations: 23.92 kB / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.578e-06/0.8315, allocations: 3.938 kB / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.8316, allocations: 15.98 kB / 0.8077 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.8316, allocations: 7.938 kB / 0.8077 GB, free: 14.75 MB / 0.6355 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 0.0001045/0.8317, allocations: 121.8 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.8318, allocations: 3.906 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.8318, allocations: 7.906 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.992e-06/0.8318, allocations: 336 / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.97e-06/0.8318, allocations: 4 kB / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-06/0.8319, allocations: 0 / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.8321, allocations: 173.6 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.8321, allocations: 3.984 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.8323, allocations: 27.97 kB / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.665e-06/0.8323, allocations: 0 / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-06/0.8323, allocations: 0 / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-06/0.8323, allocations: 0 / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-06/0.8323, allocations: 0 / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.8328, allocations: 219.4 kB / 0.8082 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.8329, allocations: 89 kB / 0.8083 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.8329, allocations: 3.938 kB / 0.8083 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.8331, allocations: 19.98 kB / 0.8084 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.8331, allocations: 7.984 kB / 0.8084 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-06/0.8331, allocations: 0 / 0.8084 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.8332, allocations: 83.28 kB / 0.8084 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.94e-07/0.8332, allocations: 0 / 0.8084 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003004/0.8335, allocations: 12 kB / 0.8085 GB, free: 13.89 MB / 0.6355 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.0001455/0.8337, allocations: 103.2 kB / 0.8086 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.8341, allocations: 87.92 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.021e-06/0.8341, allocations: 0 / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.8343, allocations: 51.89 kB / 0.8087 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.8346, allocations: 11.95 kB / 0.8087 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.835, allocations: 128.7 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.8353, allocations: 0.6809 MB / 0.8095 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.8354, allocations: 8 kB / 0.8095 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.8354, allocations: 7.438 kB / 0.8095 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.516e-06/0.8354, allocations: 0 / 0.8095 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.002978/0.8384, allocations: 0.525 MB / 0.81 GB, free: 12.24 MB / 0.6355 GB