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.01415/0.01415, allocations: 224.8 kB / 15.18 MB, free: 6 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.001101/0.001101, allocations: 182.5 kB / 16.06 MB, free: 5.867 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.718/3.718, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.473/4.473, allocations: 472.3 MB / 0.9018 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004936, allocations: 12 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.571, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002063/0.5731, allocations: 1.675 MB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000987/0.5741, allocations: 0.639 MB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.5742, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.5743, allocations: 16.55 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.5744, allocations: 36.67 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.5749, allocations: 122.4 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.5751, allocations: 285.5 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.5753, allocations: 39.86 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.5755, allocations: 108.2 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.5757, allocations: 132.3 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.5757, allocations: 15.66 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.5758, allocations: 15.56 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.5759, allocations: 63.14 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.576, allocations: 64.14 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.5762, allocations: 209.3 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.342e-06/0.5762, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.88e-06/0.5762, allocations: 1.344 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.132e-06/0.5762, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 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.001181/0.5774, allocations: 0.6053 MB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5775, allocations: 10.73 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.5776, allocations: 41.02 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.5777, allocations: 199.3 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.5779, allocations: 268.7 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.578, allocations: 26.94 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.5786, allocations: 268.1 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.5786, allocations: 1.375 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.5787, allocations: 10.94 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5787, allocations: 5.375 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.5793, allocations: 190.2 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5805, allocations: 0.7758 MB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.5812, allocations: 216.7 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.5815, allocations: 139.8 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.5816, allocations: 5.875 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000665/0.5823, allocations: 324.2 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 3.506e-06/0.5823, allocations: 0 / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001492/0.5838, allocations: 498 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.5839, allocations: 115.7 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.5841, allocations: 175.5 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.5842, allocations: 43.05 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.5842, allocations: 122.1 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.5844, allocations: 149.2 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.5844, allocations: 9.875 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.5845, allocations: 346.8 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.585, allocations: 151.9 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.5855, allocations: 260.2 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.5859, allocations: 174.7 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.03e-06/0.586, allocations: 4.438 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001199/0.5872, allocations: 498.2 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5872, allocations: 6.969 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.5872, allocations: 7.719 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.5873, allocations: 6.25 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.5878, allocations: 97.72 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.5878, allocations: 6.828 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.5882, allocations: 71.7 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.5883, allocations: 26.67 kB / 1.113 GB, free: 207.2 MB / 0.7292 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.0002138/0.5885, allocations: 156.2 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.5886, allocations: 32.61 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.5887, allocations: 35.02 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.619e-06/0.5887, allocations: 5.406 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.5887, allocations: 2.234 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5887, allocations: 4.703 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.5891, allocations: 349.6 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-06/0.5892, allocations: 0 / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.5897, allocations: 81.38 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.5897, allocations: 11.62 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.5898, allocations: 17.77 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.54e-06/0.5898, allocations: 7.172 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.402e-06/0.5898, allocations: 0 / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.5913, allocations: 0.5939 MB / 1.114 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.5914, allocations: 109.1 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.5915, allocations: 15.95 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.5919, allocations: 41.88 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.592, allocations: 46.44 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.5921, allocations: 16.94 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001043/0.5922, allocations: 124.9 kB / 1.115 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.63e-07/0.5922, allocations: 0 / 1.115 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004926/0.5927, allocations: 82.38 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001737/0.5929, allocations: 126.8 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.5939, allocations: 387.7 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.058e-06/0.594, allocations: 1.75 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.5945, allocations: 193.6 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.5949, allocations: 46.66 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.5964, allocations: 0.7024 MB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.5967, allocations: 0.7704 MB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000279/0.597, allocations: 38.86 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.5971, allocations: 33.19 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.899e-06/0.5971, allocations: 0 / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.009642/0.6068, allocations: 3.037 MB / 1.12 GB, free: 204.8 MB / 0.7292 GB