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.MovingMean_nonZeroStart.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.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006945/0.006945, allocations: 232.6 kB / 15.8 MB, free: 6.285 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.001839/0.001839, allocations: 178.6 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 4.032/4.032, 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.005/4.005, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005182, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1747, allocations: 98.73 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002237/0.1769, allocations: 1.666 MB / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1782, allocations: 0.6469 MB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1783, allocations: 3.438 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.1784, allocations: 15.8 kB / 1.107 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.1785, allocations: 31.72 kB / 1.107 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.179, allocations: 115.8 kB / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.1793, allocations: 291.1 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1795, allocations: 42.94 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1797, allocations: 107.7 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1799, allocations: 131.5 kB / 1.108 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.18, allocations: 12 kB / 1.108 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.18, allocations: 16 kB / 1.108 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.1801, allocations: 55.8 kB / 1.108 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1802, allocations: 72.86 kB / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1805, allocations: 203.7 kB / 1.108 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1805, allocations: 4 kB / 1.108 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1805, allocations: 0 / 1.108 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1805, allocations: 0 / 1.108 GB, free: 38.71 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00154/0.1821, allocations: 0.6098 MB / 1.109 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1821, allocations: 8.031 kB / 1.109 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/0.1822, allocations: 27.72 kB / 1.109 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1824, allocations: 196.7 kB / 1.109 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.1826, allocations: 271.7 kB / 1.109 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.1827, allocations: 27.91 kB / 1.109 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.1834, allocations: 272.4 kB / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.1834, allocations: 3.953 kB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.1834, allocations: 11.98 kB / 1.109 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1835, allocations: 11.25 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007421/0.1842, allocations: 183.9 kB / 1.11 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.1858, allocations: 0.7796 MB / 1.11 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.1865, allocations: 219.2 kB / 1.11 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.1869, allocations: 138.4 kB / 1.111 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/0.187, allocations: 8.188 kB / 1.111 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007288/0.1877, allocations: 318 kB / 1.111 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 4.188e-06/0.1878, allocations: 0.6562 kB / 1.111 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001599/0.1894, allocations: 497.4 kB / 1.111 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1894, allocations: 115.4 kB / 1.112 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1896, allocations: 172.9 kB / 1.112 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.1897, allocations: 41.7 kB / 1.112 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.1898, allocations: 121.2 kB / 1.112 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.1899, allocations: 146 kB / 1.112 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1899, allocations: 16 kB / 1.112 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.19, allocations: 344 kB / 1.112 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.1905, allocations: 152.6 kB / 1.112 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.1911, allocations: 264.2 kB / 1.113 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.1916, allocations: 161.3 kB / 1.113 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1917, allocations: 7.156 kB / 1.113 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001347/0.193, allocations: 496.9 kB / 1.113 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1931, allocations: 10.91 kB / 1.113 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1931, allocations: 4 kB / 1.113 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.1931, allocations: 10.72 kB / 1.113 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.1938, allocations: 99.81 kB / 1.113 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.1938, allocations: 4 kB / 1.113 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.1943, allocations: 68.5 kB / 1.114 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.1944, allocations: 24 kB / 1.114 GB, free: 32.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002122/0.1946, allocations: 163.9 kB / 1.114 GB, free: 32.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.1947, allocations: 27.7 kB / 1.114 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.251e-05/0.1948, allocations: 29.88 kB / 1.114 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1948, allocations: 3.984 kB / 1.114 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1948, allocations: 0 / 1.114 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1949, allocations: 109.4 kB / 1.114 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.1949, allocations: 10.25 kB / 1.114 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.1954, allocations: 47.11 kB / 1.114 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.1955, allocations: 39.91 kB / 1.114 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001873/0.1974, allocations: 0.6992 MB / 1.115 GB, free: 31.52 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001744/0.1992, allocations: 0.8817 MB / 1.116 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005217/0.1997, allocations: 179.2 kB / 1.116 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001047/0.1999, allocations: 122.6 kB / 1.116 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of Backend: time 5.11e-07/0.1999, allocations: 3.938 kB / 1.116 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.2013, allocations: 363.5 kB / 1.116 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001235/0.2026, allocations: 1.087 MB / 1.117 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.01567/0.2183, allocations: 3.959 MB / 1.121 GB, free: 25.1 MB / 0.6042 GB