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.Discrete.Examples.MovingMean.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.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004178/0.004178, allocations: 230.3 kB / 15.82 MB, free: 6.293 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.001157/0.001157, allocations: 171.2 kB / 16.7 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 4.133/4.133, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.112/4.112, allocations: 472.3 MB / 0.9024 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006584/0.0006587, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1753, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.783/0.9583, allocations: 124.6 MB / 1.226 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.9587, allocations: 72.45 kB / 1.226 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006642/0.9653, allocations: 1.567 MB / 1.228 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9654, allocations: 0.6094 kB / 1.228 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.9654, allocations: 0 / 1.228 GB, free: 27.39 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004527/0.9659, allocations: 400.2 kB / 1.228 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.9659, allocations: 9.812 kB / 1.228 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.966, allocations: 7.906 kB / 1.228 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.9662, allocations: 181.6 kB / 1.228 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.9662, allocations: 0 / 1.228 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.9662, allocations: 4 kB / 1.228 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.9665, allocations: 78.14 kB / 1.229 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.9665, allocations: 0 / 1.229 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.9665, allocations: 4 kB / 1.229 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.9665, allocations: 0.6875 kB / 1.229 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.9667, allocations: 45.66 kB / 1.229 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.9672, allocations: 292.6 kB / 1.229 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.9674, allocations: 74.52 kB / 1.229 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.9676, allocations: 72.16 kB / 1.229 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.9676, allocations: 3.984 kB / 1.229 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.9678, allocations: 120 kB / 1.229 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.9678, allocations: 0.7812 kB / 1.229 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000547/0.9684, allocations: 207.8 kB / 1.229 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.9685, allocations: 112.4 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.9686, allocations: 121.2 kB / 1.23 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.9686, allocations: 33.02 kB / 1.23 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.9687, allocations: 88.47 kB / 1.23 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.9687, allocations: 25.83 kB / 1.23 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.9687, allocations: 7.812 kB / 1.23 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9689, allocations: 316.8 kB / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.969, allocations: 39.56 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.9692, allocations: 105.1 kB / 1.23 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.9694, allocations: 88.02 kB / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9694, allocations: 0 / 1.23 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004513/0.9699, allocations: 202.8 kB / 1.23 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.9699, allocations: 35.34 kB / 1.23 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.97, allocations: 8.312 kB / 1.23 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.97, allocations: 7.938 kB / 1.23 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.9702, allocations: 26.34 kB / 1.231 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.9702, allocations: 5.688 kB / 1.231 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.9703, allocations: 8 kB / 1.231 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.9703, allocations: 11.12 kB / 1.231 GB, free: 24.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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.0001814/0.9705, allocations: 176.2 kB / 1.231 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.9706, allocations: 7.906 kB / 1.231 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.9706, allocations: 18.41 kB / 1.231 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9706, allocations: 0 / 1.231 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9706, allocations: 0 / 1.231 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9707, allocations: 0 / 1.231 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.9708, allocations: 191.6 kB / 1.231 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9708, allocations: 0.5625 kB / 1.231 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.9709, allocations: 8.906 kB / 1.231 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.691e-05/0.9709, allocations: 4 kB / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.971, allocations: 4.938 kB / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.971, allocations: 3.953 kB / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.971, allocations: 0 / 1.231 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.9715, allocations: 234.5 kB / 1.231 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.9715, allocations: 85.02 kB / 1.231 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.9716, allocations: 9.016 kB / 1.231 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.321e-05/0.9717, allocations: 5.688 kB / 1.231 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.9717, allocations: 9.5 kB / 1.231 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.9718, allocations: 5.172 kB / 1.231 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.873e-05/0.9718, allocations: 86.3 kB / 1.231 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9719, allocations: 2.875 kB / 1.231 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003129/0.9722, allocations: 23.62 kB / 1.231 GB, free: 24.06 MB / 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: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001465/0.9723, allocations: 115 kB / 1.231 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004134/0.9728, allocations: 181.6 kB / 1.232 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9728, allocations: 0 / 1.232 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.973, allocations: 184.5 kB / 1.232 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.9733, allocations: 13.41 kB / 1.232 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.9738, allocations: 200 kB / 1.232 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/0.9746, allocations: 0.7016 MB / 1.233 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.062e-05/0.9747, allocations: 8.891 kB / 1.233 GB, free: 38.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.9748, allocations: 13.97 kB / 1.233 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/0.9748, allocations: 0 / 1.233 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.004208/0.979, allocations: 0.8609 MB / 1.234 GB, free: 38.33 MB / 0.6355 GB