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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01094/0.01094, allocations: 108.7 kB / 15.06 MB, free: 5.555 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.001212/0.001212, allocations: 181.5 kB / 15.95 MB, free: 5.52 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 2.239/2.239, allocations: 194.6 MB / 211.3 MB, free: 11.21 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.421/2.421, allocations: 236.1 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 16 kB / 0.5871 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6711, allocations: 98.71 MB / 0.6835 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002453/0.6736, allocations: 1.637 MB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.675, allocations: 0.6489 MB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.6752, allocations: 1.031 kB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.6753, allocations: 12.05 kB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.6755, allocations: 43.89 kB / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.676, allocations: 124 kB / 0.6859 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.6764, allocations: 190.1 kB / 0.686 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.6765, allocations: 36.88 kB / 0.6861 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.6768, allocations: 108.6 kB / 0.6862 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.677, allocations: 131.2 kB / 0.6863 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.6771, allocations: 19.81 kB / 0.6863 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.6772, allocations: 14.12 kB / 0.6863 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.6773, allocations: 59.41 kB / 0.6864 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.6774, allocations: 64.14 kB / 0.6865 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.6777, allocations: 207.1 kB / 0.6867 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6777, allocations: 0 / 0.6867 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6777, allocations: 1.156 kB / 0.6867 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.6777, allocations: 0 / 0.6867 GB, free: 14.75 MB / 0.5261 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.001751/0.6795, allocations: 0.6086 MB / 0.6872 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6796, allocations: 13.75 kB / 0.6873 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.503e-05/0.6797, allocations: 59.61 kB / 0.6873 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.704e-05/0.6798, allocations: 33.88 kB / 0.6873 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.6799, allocations: 200.9 kB / 0.6875 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.6801, allocations: 260.9 kB / 0.6878 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/0.6802, allocations: 32.72 kB / 0.6878 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008226/0.6811, allocations: 259.3 kB / 0.6881 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.6811, allocations: 5.031 kB / 0.6881 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.6812, allocations: 11.66 kB / 0.6881 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.6812, allocations: 9.25 kB / 0.6881 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.682, allocations: 195.1 kB / 0.6883 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.6836, allocations: 0.7791 MB / 0.689 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.6844, allocations: 211 kB / 0.6892 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.6845, allocations: 12.95 kB / 0.6893 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008696/0.6854, allocations: 317.3 kB / 0.6896 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.396e-06/0.6854, allocations: 0 / 0.6896 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.001802/0.6872, allocations: 0.4911 MB / 0.69 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.6873, allocations: 115.4 kB / 0.6901 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.6876, allocations: 175.2 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.6876, allocations: 38.64 kB / 0.6903 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.6877, allocations: 118 kB / 0.6905 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.6879, allocations: 153.6 kB / 0.6906 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.6879, allocations: 14.69 kB / 0.6906 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.688, allocations: 342.8 kB / 0.6909 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.6886, allocations: 148.8 kB / 0.6911 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.6893, allocations: 255.6 kB / 0.6913 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.6899, allocations: 173.8 kB / 0.6915 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.6899, allocations: 1.031 kB / 0.6915 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001509/0.6914, allocations: 496.6 kB / 0.692 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.6915, allocations: 10.23 kB / 0.692 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6915, allocations: 3.438 kB / 0.692 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.6915, allocations: 5.344 kB / 0.692 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.6923, allocations: 98.66 kB / 0.6921 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.6923, allocations: 5.594 kB / 0.6921 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.6929, allocations: 73.31 kB / 0.6922 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.6929, allocations: 21.14 kB / 0.6922 GB, free: 11.06 MB / 0.5261 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.0002492/0.6932, allocations: 161.5 kB / 0.6923 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.6933, allocations: 29.42 kB / 0.6924 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.882e-05/0.6934, allocations: 32.28 kB / 0.6924 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6934, allocations: 6.375 kB / 0.6924 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.6934, allocations: 5.203 kB / 0.6924 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.6934, allocations: 7.594 kB / 0.6924 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.694, allocations: 350.8 kB / 0.6927 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.694, allocations: 5.062 kB / 0.6928 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.6949, allocations: 77.75 kB / 0.6928 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.6949, allocations: 6.859 kB / 0.6928 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.695, allocations: 11.75 kB / 0.6928 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.695, allocations: 6.797 kB / 0.6929 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.695, allocations: 0.6562 kB / 0.6929 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.6969, allocations: 0.6298 MB / 0.6935 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.697, allocations: 105.1 kB / 0.6936 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.6971, allocations: 17.83 kB / 0.6936 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.6976, allocations: 45.28 kB / 0.6936 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.6978, allocations: 38.58 kB / 0.6937 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.6979, allocations: 17.91 kB / 0.6937 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001334/0.698, allocations: 125.3 kB / 0.6938 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.698, allocations: 0 / 0.6938 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005295/0.6986, allocations: 84.56 kB / 0.6939 GB, free: 9.996 MB / 0.5261 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.002166/0.7007, allocations: 1.314 MB / 0.6952 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.7022, allocations: 399.6 kB / 0.6955 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7022, allocations: 0 / 0.6955 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.7029, allocations: 189.1 kB / 0.6957 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.7034, allocations: 38.05 kB / 0.6958 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.7059, allocations: 2.678 MB / 0.6984 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.7063, allocations: 0.7706 MB / 0.6991 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.7067, allocations: 38.56 kB / 0.6992 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.7069, allocations: 93.05 kB / 0.6993 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/0.7069, allocations: 0 / 0.6993 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.7427, allocations: 5.446 MB / 0.7046 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.7429, allocations: 220.6 kB / 0.7048 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.655, allocations: 1.188 kB / 0.7048 GB, free: 3.391 MB / 0.5261 GB