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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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.0112/0.01121, allocations: 108.5 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.001249/0.001249, allocations: 181.3 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.149/2.149, 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.377/2.377, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005083, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6847, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002531/0.6873, allocations: 1.638 MB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.6886, allocations: 0.6469 MB / 0.6857 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.6887, allocations: 2.469 kB / 0.6857 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.6888, allocations: 11.86 kB / 0.6857 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.689, allocations: 47.47 kB / 0.6857 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.6895, allocations: 124.4 kB / 0.6859 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.6898, allocations: 190.9 kB / 0.686 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.69, allocations: 43.84 kB / 0.6861 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.6902, allocations: 108.1 kB / 0.6862 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.6905, allocations: 132 kB / 0.6863 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.6906, allocations: 14.97 kB / 0.6863 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.056e-05/0.6907, allocations: 15.34 kB / 0.6863 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.6908, allocations: 55.23 kB / 0.6864 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.6908, allocations: 66.95 kB / 0.6865 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.6912, allocations: 204.1 kB / 0.6866 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6912, allocations: 0 / 0.6866 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6912, allocations: 0 / 0.6866 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.6912, allocations: 4 kB / 0.6867 GB, free: 14.72 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.001671/0.6929, allocations: 0.6135 MB / 0.6873 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.693, allocations: 9.531 kB / 0.6873 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.818e-05/0.6931, allocations: 59.92 kB / 0.6873 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.6932, allocations: 34.2 kB / 0.6874 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.6933, allocations: 195.9 kB / 0.6875 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.6936, allocations: 266.3 kB / 0.6878 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.6937, allocations: 27.83 kB / 0.6878 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.6944, allocations: 262.3 kB / 0.6881 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.6945, allocations: 6.172 kB / 0.6881 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.6945, allocations: 8.078 kB / 0.6881 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.6945, allocations: 4.781 kB / 0.6881 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.6953, allocations: 194.4 kB / 0.6883 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.697, allocations: 0.7796 MB / 0.689 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.6977, allocations: 212.1 kB / 0.6892 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.6978, allocations: 11.67 kB / 0.6892 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008647/0.6987, allocations: 313.3 kB / 0.6895 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/0.6987, allocations: 1.219 kB / 0.6895 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.001742/0.7005, allocations: 0.4889 MB / 0.69 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.7005, allocations: 124.2 kB / 0.6901 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.7008, allocations: 172.6 kB / 0.6903 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.7008, allocations: 46.31 kB / 0.6904 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.7009, allocations: 116.5 kB / 0.6905 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.7011, allocations: 151.3 kB / 0.6906 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.7011, allocations: 9.531 kB / 0.6906 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.7012, allocations: 338.9 kB / 0.6909 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.7018, allocations: 152.2 kB / 0.6911 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.7024, allocations: 255.8 kB / 0.6913 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.703, allocations: 173.3 kB / 0.6915 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.703, allocations: 1.594 kB / 0.6915 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001441/0.7045, allocations: 0.4898 MB / 0.692 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.7045, allocations: 5.656 kB / 0.692 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.7045, allocations: 3.609 kB / 0.692 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.7046, allocations: 9.531 kB / 0.692 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.7053, allocations: 98.42 kB / 0.6921 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.7053, allocations: 7.016 kB / 0.6921 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.7059, allocations: 76.19 kB / 0.6922 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.7059, allocations: 24.03 kB / 0.6922 GB, free: 11.03 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.0002593/0.7062, allocations: 162.6 kB / 0.6923 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.7063, allocations: 29.06 kB / 0.6924 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-05/0.7064, allocations: 37.08 kB / 0.6924 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.7064, allocations: 4.906 kB / 0.6924 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.7064, allocations: 1.656 kB / 0.6924 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7065, allocations: 7.078 kB / 0.6924 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.7071, allocations: 347.8 kB / 0.6928 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.7071, allocations: 5.156 kB / 0.6928 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009163/0.708, allocations: 77.17 kB / 0.6928 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.7081, allocations: 6.422 kB / 0.6928 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/0.7082, allocations: 20.97 kB / 0.6929 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.7082, allocations: 1.844 kB / 0.6929 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.7082, allocations: 1.281 kB / 0.6929 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.7102, allocations: 0.626 MB / 0.6935 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.7103, allocations: 106.1 kB / 0.6936 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.7104, allocations: 9.719 kB / 0.6936 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.7109, allocations: 48.48 kB / 0.6936 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.7111, allocations: 38.44 kB / 0.6937 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.7112, allocations: 12.91 kB / 0.6937 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001349/0.7113, allocations: 126.6 kB / 0.6938 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/0.7113, allocations: 1.344 kB / 0.6938 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005418/0.7119, allocations: 82.48 kB / 0.6939 GB, free: 9.973 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.002151/0.714, allocations: 1.315 MB / 0.6952 GB, free: 9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.7154, allocations: 392.5 kB / 0.6955 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7155, allocations: 1.125 kB / 0.6955 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.7161, allocations: 193.1 kB / 0.6957 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.7165, allocations: 35.47 kB / 0.6958 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.7191, allocations: 2.695 MB / 0.6984 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.7194, allocations: 0.7705 MB / 0.6991 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003368/0.7198, allocations: 38.03 kB / 0.6992 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.72, allocations: 89.39 kB / 0.6993 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/0.72, allocations: 9.25 kB / 0.6993 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.7517, allocations: 5.424 MB / 0.7046 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/0.7522, allocations: 189.8 kB / 0.7047 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.418, allocations: 0 / 0.7047 GB, free: 3.375 MB / 0.5261 GB