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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01495/0.01495, allocations: 109.1 kB / 15.06 MB, free: 5.562 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.001833/0.001833, allocations: 184.2 kB / 15.95 MB, free: 5.523 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 1.98/1.98, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.203/2.203, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000832/0.0008322, allocations: 15.98 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6126, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002033/0.6147, allocations: 1.64 MB / 0.685 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.6158, allocations: 0.6519 MB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.6159, allocations: 1.312 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.6159, allocations: 14.17 kB / 0.6856 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.6161, allocations: 38.56 kB / 0.6856 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.6165, allocations: 131.7 kB / 0.6858 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.6168, allocations: 187.5 kB / 0.686 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.6169, allocations: 40.47 kB / 0.686 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.6171, allocations: 102.5 kB / 0.6861 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.6173, allocations: 136.9 kB / 0.6862 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.6174, allocations: 15.03 kB / 0.6862 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.6175, allocations: 14.22 kB / 0.6862 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.6176, allocations: 60.02 kB / 0.6863 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.6176, allocations: 67.77 kB / 0.6864 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.6179, allocations: 202.8 kB / 0.6866 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.161e-06/0.6179, allocations: 1.5 kB / 0.6866 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.082e-06/0.6179, allocations: 0 / 0.6866 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.037e-06/0.618, allocations: 0 / 0.6866 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.001207/0.6192, allocations: 0.6045 MB / 0.6872 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6192, allocations: 9.375 kB / 0.6872 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.6193, allocations: 45.56 kB / 0.6872 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6195, allocations: 196.3 kB / 0.6874 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.6197, allocations: 262.4 kB / 0.6876 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.6197, allocations: 32.16 kB / 0.6877 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.6204, allocations: 262.6 kB / 0.6879 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.6204, allocations: 1.75 kB / 0.6879 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.6205, allocations: 11.19 kB / 0.6879 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.225e-06/0.6205, allocations: 5.375 kB / 0.6879 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.6211, allocations: 187 kB / 0.6881 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.6225, allocations: 0.7769 MB / 0.6889 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.6231, allocations: 227.1 kB / 0.6891 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.6232, allocations: 11.86 kB / 0.6891 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007075/0.6239, allocations: 313.4 kB / 0.6894 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.622e-06/0.6239, allocations: 3.938 kB / 0.6894 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.001483/0.6254, allocations: 498.3 kB / 0.6899 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6255, allocations: 112.7 kB / 0.69 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.6257, allocations: 179.7 kB / 0.6902 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.6257, allocations: 38.06 kB / 0.6902 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.6258, allocations: 122.2 kB / 0.6903 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.626, allocations: 145.7 kB / 0.6905 GB, free: 12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.626, allocations: 10.19 kB / 0.6905 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.6261, allocations: 346.5 kB / 0.6908 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.6266, allocations: 152.4 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.6271, allocations: 259.4 kB / 0.6912 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.6275, allocations: 166.2 kB / 0.6913 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.612e-06/0.6276, allocations: 1.062 kB / 0.6914 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001227/0.6288, allocations: 0.493 MB / 0.6918 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6288, allocations: 6.844 kB / 0.6918 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6289, allocations: 6.188 kB / 0.6918 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.6289, allocations: 6.188 kB / 0.6918 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.6295, allocations: 98.25 kB / 0.6919 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.6295, allocations: 9.609 kB / 0.692 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.6299, allocations: 69.94 kB / 0.692 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.63, allocations: 19.42 kB / 0.692 GB, free: 11.11 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.0001903/0.6302, allocations: 158.5 kB / 0.6922 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.6302, allocations: 33.31 kB / 0.6922 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.6303, allocations: 32.16 kB / 0.6923 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.514e-06/0.6303, allocations: 5.938 kB / 0.6923 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.603e-06/0.6304, allocations: 1.344 kB / 0.6923 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.6304, allocations: 7.516 kB / 0.6923 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.6308, allocations: 359.2 kB / 0.6926 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.891e-06/0.6309, allocations: 1.344 kB / 0.6926 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.6314, allocations: 81.67 kB / 0.6927 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-06/0.6314, allocations: 6.266 kB / 0.6927 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.6315, allocations: 16.12 kB / 0.6927 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.6315, allocations: 2.312 kB / 0.6927 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6315, allocations: 1.031 kB / 0.6927 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.633, allocations: 0.6298 MB / 0.6933 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.6331, allocations: 105.5 kB / 0.6934 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.6332, allocations: 13.69 kB / 0.6934 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.6335, allocations: 44.39 kB / 0.6935 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.6336, allocations: 37.78 kB / 0.6935 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.6337, allocations: 22.8 kB / 0.6935 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001093/0.6338, allocations: 122.7 kB / 0.6937 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.81e-07/0.6338, allocations: 0 / 0.6937 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004677/0.6343, allocations: 79.22 kB / 0.6937 GB, free: 10.05 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.0001612/0.6345, allocations: 124.4 kB / 0.6939 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.6356, allocations: 385.6 kB / 0.6942 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.64e-06/0.6356, allocations: 4 kB / 0.6942 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.6361, allocations: 195.3 kB / 0.6944 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.6365, allocations: 33.66 kB / 0.6944 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.6379, allocations: 0.6972 MB / 0.6951 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.6381, allocations: 0.7712 MB / 0.6959 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.6384, allocations: 38.23 kB / 0.6959 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.6385, allocations: 30.56 kB / 0.6959 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of SimCode: time 1.574e-06/0.6385, allocations: 1.031 kB / 0.6959 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of Templates: time 0.008738/0.6473, allocations: 3.029 MB / 0.6989 GB, free: 7.766 MB / 0.5261 GB