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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadModel(Buildings): time 4.32/4.32, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.388e-05, allocations: 6.719 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1772, allocations: 98.72 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.3726, allocations: 125.2 MB / 0.757 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.3729, allocations: 71.95 kB / 0.7571 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03822/0.4111, allocations: 8.668 MB / 0.7655 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.026e-06/0.4112, allocations: 0 / 0.7655 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.4112, allocations: 4 kB / 0.7655 GB, free: 11.76 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.001332/0.4125, allocations: 0.6015 MB / 0.7661 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4126, allocations: 8.031 kB / 0.7661 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.4127, allocations: 31.66 kB / 0.7662 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.4129, allocations: 199.6 kB / 0.7663 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.4132, allocations: 263.8 kB / 0.7666 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.4133, allocations: 39.83 kB / 0.7666 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.4139, allocations: 237.8 kB / 0.7669 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.414, allocations: 4 kB / 0.7669 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.414, allocations: 11.98 kB / 0.7669 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.384e-06/0.414, allocations: 4.219 kB / 0.7669 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.4145, allocations: 147.9 kB / 0.767 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.4162, allocations: 0.8012 MB / 0.7678 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.4168, allocations: 188.5 kB / 0.768 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.4171, allocations: 115.2 kB / 0.7681 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.4172, allocations: 8.359 kB / 0.7681 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.4178, allocations: 291.5 kB / 0.7684 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.244e-06/0.4178, allocations: 4 kB / 0.7684 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0009193/0.4188, allocations: 329.3 kB / 0.7687 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.4189, allocations: 114.8 kB / 0.7688 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.4191, allocations: 162.6 kB / 0.769 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.4192, allocations: 37.7 kB / 0.769 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4193, allocations: 121.2 kB / 0.7691 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.4195, allocations: 150 kB / 0.7693 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.4195, allocations: 16 kB / 0.7693 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4197, allocations: 346.8 kB / 0.7696 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.4201, allocations: 125.5 kB / 0.7697 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.4206, allocations: 230.1 kB / 0.7699 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.421, allocations: 151.9 kB / 0.7701 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.683e-06/0.421, allocations: 3.984 kB / 0.7701 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001079/0.4221, allocations: 448.9 kB / 0.7705 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4221, allocations: 8 kB / 0.7705 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.367e-06/0.4221, allocations: 0 / 0.7705 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4222, allocations: 8 kB / 0.7705 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.4229, allocations: 95.83 kB / 0.7706 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/0.423, allocations: 15.98 kB / 0.7706 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.4236, allocations: 63.66 kB / 0.7707 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.4237, allocations: 20 kB / 0.7707 GB, free: 6.059 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.0002902/0.4241, allocations: 151.1 kB / 0.7709 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.4242, allocations: 27.72 kB / 0.7709 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.347e-05/0.4243, allocations: 33.64 kB / 0.7709 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.514e-06/0.4243, allocations: 7.938 kB / 0.7709 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.4243, allocations: 0 / 0.7709 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4243, allocations: 11.92 kB / 0.7709 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.4249, allocations: 345.2 kB / 0.7713 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-06/0.4249, allocations: 7.938 kB / 0.7713 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.4255, allocations: 75.89 kB / 0.7713 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.4255, allocations: 8 kB / 0.7714 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.4256, allocations: 15.98 kB / 0.7714 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.707e-06/0.4256, allocations: 4 kB / 0.7714 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.72e-06/0.4256, allocations: 0 / 0.7714 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.427, allocations: 0.5624 MB / 0.7719 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4271, allocations: 112.6 kB / 0.772 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.4272, allocations: 8.094 kB / 0.772 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.4275, allocations: 47.89 kB / 0.7721 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4277, allocations: 43.91 kB / 0.7721 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.4277, allocations: 19.98 kB / 0.7721 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000141/0.4279, allocations: 121.2 kB / 0.7723 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.42e-07/0.4279, allocations: 0 / 0.7723 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005011/0.4284, allocations: 80 kB / 0.7723 GB, free: 4.281 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.000233/0.4287, allocations: 124.9 kB / 0.7725 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008888/0.4296, allocations: 354.3 kB / 0.7728 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4296, allocations: 0 / 0.7728 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.43, allocations: 163.8 kB / 0.7729 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.4304, allocations: 35.92 kB / 0.773 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.4318, allocations: 0.511 MB / 0.7735 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.4323, allocations: 0.7764 MB / 0.7742 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.4326, allocations: 35.33 kB / 0.7743 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.4328, allocations: 35.44 kB / 0.7743 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of SimCode: time 1.834e-06/0.4328, allocations: 7.938 kB / 0.7743 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of Templates: time 0.4276/0.8604, allocations: 3.025 MB / 0.7773 GB, free: 141.1 MB / 0.6511 GB