Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.227/4.227, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.211e-05, allocations: 5.781 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1746, allocations: 98.72 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.367, allocations: 125.2 MB / 0.757 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.3673, allocations: 71.95 kB / 0.7571 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.4059, allocations: 8.672 MB / 0.7655 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.752e-06/0.406, allocations: 0 / 0.7655 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.431e-05/0.406, allocations: 8 kB / 0.7655 GB, free: 11.74 MB / 0.6511 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.00136/0.4074, allocations: 0.5937 MB / 0.7661 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4074, allocations: 12.03 kB / 0.7661 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.978e-05/0.4076, allocations: 31.7 kB / 0.7662 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.4078, allocations: 191.6 kB / 0.7663 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.408, allocations: 263.7 kB / 0.7666 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.4081, allocations: 39.91 kB / 0.7666 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.4087, allocations: 237.8 kB / 0.7669 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.4087, allocations: 3.984 kB / 0.7669 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.4088, allocations: 12 kB / 0.7669 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.402e-06/0.4088, allocations: 4 kB / 0.7669 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.4093, allocations: 148.1 kB / 0.767 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.4109, allocations: 0.8051 MB / 0.7678 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.4115, allocations: 180.5 kB / 0.768 GB, free: 9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.4118, allocations: 115 kB / 0.7681 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.4119, allocations: 16.58 kB / 0.7681 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005963/0.4125, allocations: 287.4 kB / 0.7684 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.605e-06/0.4125, allocations: 3.938 kB / 0.7684 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0008727/0.4134, allocations: 335.9 kB / 0.7687 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.4135, allocations: 118.8 kB / 0.7688 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.4138, allocations: 162.6 kB / 0.769 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.4138, allocations: 37.7 kB / 0.769 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4139, allocations: 121.2 kB / 0.7691 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.4141, allocations: 146 kB / 0.7693 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.4142, allocations: 12 kB / 0.7693 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4144, allocations: 346.8 kB / 0.7696 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.4147, allocations: 125.6 kB / 0.7697 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.4152, allocations: 238.1 kB / 0.7699 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.4156, allocations: 151.8 kB / 0.7701 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.921e-06/0.4156, allocations: 0 / 0.7701 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001058/0.4167, allocations: 449.6 kB / 0.7705 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4167, allocations: 4 kB / 0.7705 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4167, allocations: 4 kB / 0.7705 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.4168, allocations: 7.984 kB / 0.7705 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.4173, allocations: 103.9 kB / 0.7706 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.4174, allocations: 8 kB / 0.7706 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.4178, allocations: 67.66 kB / 0.7707 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.4178, allocations: 20 kB / 0.7707 GB, free: 6.039 MB / 0.6511 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 () * 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.0002059/0.418, allocations: 151 kB / 0.7709 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.4181, allocations: 23.72 kB / 0.7709 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.495e-05/0.4182, allocations: 33.66 kB / 0.7709 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4183, allocations: 8 kB / 0.7709 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4183, allocations: 0 / 0.7709 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.4183, allocations: 3.984 kB / 0.7709 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.4188, allocations: 365.1 kB / 0.7713 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.026e-06/0.4189, allocations: 0 / 0.7713 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.4194, allocations: 75.91 kB / 0.7714 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.4195, allocations: 7.984 kB / 0.7714 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.4195, allocations: 12 kB / 0.7714 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.572e-06/0.4195, allocations: 0 / 0.7714 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.651e-06/0.4196, allocations: 8.078 kB / 0.7714 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4208, allocations: 0.5505 MB / 0.7719 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.421, allocations: 112.7 kB / 0.772 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.421, allocations: 11.92 kB / 0.772 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.4214, allocations: 43.97 kB / 0.7721 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.4216, allocations: 43.89 kB / 0.7721 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.4216, allocations: 16 kB / 0.7721 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001367/0.4218, allocations: 129.4 kB / 0.7723 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.68e-07/0.4218, allocations: 0 / 0.7723 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004933/0.4223, allocations: 87.92 kB / 0.7723 GB, free: 4.262 MB / 0.6511 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 () * 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.0002219/0.4225, allocations: 121.6 kB / 0.7725 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008617/0.4234, allocations: 350.7 kB / 0.7728 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4234, allocations: 0 / 0.7728 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.4239, allocations: 163.9 kB / 0.773 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4242, allocations: 38.36 kB / 0.773 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4255, allocations: 0.507 MB / 0.7735 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.426, allocations: 0.7803 MB / 0.7742 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002667/0.4263, allocations: 34.97 kB / 0.7743 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.4264, allocations: 35.42 kB / 0.7743 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of SimCode: time 1.722e-06/0.4265, allocations: 0 / 0.7743 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of Templates: time 0.4421/0.8686, allocations: 3.03 MB / 0.7773 GB, free: 141.1 MB / 0.6511 GB