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.005935/0.005935, allocations: 237.3 kB / 15.81 MB, free: 6.281 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.001759/0.001758, allocations: 183.5 kB / 16.69 MB, free: 5.449 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.945/3.945, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.279/4.279, allocations: 472.3 MB / 0.9024 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004852, allocations: 15.34 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 98.72 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001537/0.1787, allocations: 1.096 MB / 1.106 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006036/0.1793, allocations: 264.2 kB / 1.106 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.1794, allocations: 4 kB / 1.106 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.202e-05/0.1795, allocations: 7.875 kB / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1796, allocations: 15.86 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.1798, allocations: 23.91 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.275e-05/0.1799, allocations: 51.84 kB / 1.106 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.18, allocations: 6.719 kB / 1.106 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.1801, allocations: 23.92 kB / 1.106 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1802, allocations: 35.83 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1802, allocations: 0 / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.1802, allocations: 4 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.1803, allocations: 7.938 kB / 1.106 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.1803, allocations: 40.23 kB / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.571e-05/0.1804, allocations: 39.91 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1804, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1804, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.1805, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 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.0004594/0.1809, allocations: 392.2 kB / 1.107 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.181, allocations: 8.031 kB / 1.107 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.181, allocations: 7.953 kB / 1.107 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1812, allocations: 174.9 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1812, allocations: 4 kB / 1.107 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1812, allocations: 8 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1815, allocations: 83 kB / 1.107 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1815, allocations: 7.438 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1815, allocations: 3.984 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1815, allocations: 3.953 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1817, allocations: 51.92 kB / 1.107 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1822, allocations: 281.7 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1824, allocations: 73.72 kB / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1825, allocations: 60.88 kB / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1826, allocations: 96 / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.1828, allocations: 127.8 kB / 1.107 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.076e-06/0.1828, allocations: 1.781 kB / 1.107 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005497/0.1834, allocations: 203.2 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.1835, allocations: 118 kB / 1.108 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.1836, allocations: 113.8 kB / 1.108 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1836, allocations: 33.8 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.1836, allocations: 88.08 kB / 1.108 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1837, allocations: 27.66 kB / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.1837, allocations: 7.938 kB / 1.108 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.1838, allocations: 318.8 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1839, allocations: 43.34 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1841, allocations: 107.8 kB / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1843, allocations: 86.2 kB / 1.109 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1843, allocations: 0 / 1.109 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004271/0.1847, allocations: 206.3 kB / 1.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.1848, allocations: 37.7 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1848, allocations: 3.438 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1848, allocations: 4 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.185, allocations: 27.92 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.185, allocations: 0 / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1852, allocations: 15.89 kB / 1.109 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1852, allocations: 12 kB / 1.109 GB, free: 37.54 MB / 0.6042 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.0001489/0.1853, allocations: 172.9 kB / 1.109 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1854, allocations: 18.98 kB / 1.109 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.1854, allocations: 4.375 kB / 1.109 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1854, allocations: 3.984 kB / 1.109 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1854, allocations: 0 / 1.109 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.1855, allocations: 88.95 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.1855, allocations: 9.641 kB / 1.109 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.1856, allocations: 4 kB / 1.109 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.1857, allocations: 10.89 kB / 1.109 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005024/0.1862, allocations: 349.9 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004726/0.1867, allocations: 383.3 kB / 1.11 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001956/0.1869, allocations: 111.9 kB / 1.11 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.187, allocations: 90.75 kB / 1.11 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of Backend: time 8.11e-07/0.187, allocations: 0 / 1.11 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006115/0.1876, allocations: 209.6 kB / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005596/0.1882, allocations: 0.6929 MB / 1.111 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.004059/0.1923, allocations: 0.9285 MB / 1.112 GB, free: 34.41 MB / 0.6042 GB