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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00926/0.00926, allocations: 107.3 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.001125/0.001125, allocations: 180.9 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.841/1.841, allocations: 194.6 MB / 211.3 MB, free: 10.71 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.351/2.351, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 16 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.634/0.6345, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.00207/0.6366, allocations: 1.636 MB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.6378, allocations: 0.6485 MB / 0.6856 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.6379, allocations: 1.344 kB / 0.6856 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.246e-05/0.6379, allocations: 16.17 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.6381, allocations: 43.86 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.6385, allocations: 119.1 kB / 0.6858 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.6388, allocations: 188.7 kB / 0.686 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.6389, allocations: 39.14 kB / 0.686 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.6392, allocations: 112.7 kB / 0.6861 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.6394, allocations: 127.2 kB / 0.6862 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.6395, allocations: 14.94 kB / 0.6862 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.237e-05/0.6395, allocations: 15.25 kB / 0.6862 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.6396, allocations: 59.11 kB / 0.6863 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.6397, allocations: 68.11 kB / 0.6864 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.64, allocations: 206.6 kB / 0.6866 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.011e-06/0.64, allocations: 0 / 0.6866 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.093e-06/0.64, allocations: 0 / 0.6866 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.64, allocations: 1.469 kB / 0.6866 GB, free: 14.65 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.001262/0.6413, allocations: 0.6097 MB / 0.6872 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6414, allocations: 12.67 kB / 0.6872 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.6415, allocations: 37.23 kB / 0.6872 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.6416, allocations: 197 kB / 0.6874 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.6418, allocations: 274 kB / 0.6877 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.6419, allocations: 27.31 kB / 0.6877 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.6426, allocations: 255.5 kB / 0.6879 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.6426, allocations: 5.281 kB / 0.6879 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.6427, allocations: 11.39 kB / 0.6879 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-06/0.6427, allocations: 5.188 kB / 0.688 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.6433, allocations: 191.4 kB / 0.6881 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.6448, allocations: 0.7833 MB / 0.6889 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.6454, allocations: 210.7 kB / 0.6891 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.6455, allocations: 12.12 kB / 0.6891 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/0.6462, allocations: 314.5 kB / 0.6894 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 4.028e-06/0.6463, allocations: 0 / 0.6894 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.001486/0.6478, allocations: 0.4912 MB / 0.6899 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.6478, allocations: 119.1 kB / 0.69 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.648, allocations: 179.4 kB / 0.6902 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.6481, allocations: 38.77 kB / 0.6902 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.6482, allocations: 118 kB / 0.6903 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.6483, allocations: 150.1 kB / 0.6905 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.6484, allocations: 18.06 kB / 0.6905 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.6484, allocations: 339.8 kB / 0.6908 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.6489, allocations: 150.9 kB / 0.691 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.6494, allocations: 256.1 kB / 0.6912 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.6499, allocations: 166.1 kB / 0.6914 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.448e-06/0.6499, allocations: 1.219 kB / 0.6914 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001282/0.6512, allocations: 0.4928 MB / 0.6918 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.6513, allocations: 6.75 kB / 0.6918 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6513, allocations: 3.344 kB / 0.6918 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.6513, allocations: 6.469 kB / 0.6919 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.6519, allocations: 101.2 kB / 0.692 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.6519, allocations: 9.406 kB / 0.692 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.6523, allocations: 65.88 kB / 0.692 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.6524, allocations: 24.52 kB / 0.692 GB, free: 11.01 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.0002254/0.6526, allocations: 167 kB / 0.6922 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.6527, allocations: 33.16 kB / 0.6922 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.6528, allocations: 31.81 kB / 0.6923 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.973e-06/0.6528, allocations: 5.156 kB / 0.6923 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.6528, allocations: 2.453 kB / 0.6923 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6528, allocations: 1.875 kB / 0.6923 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.6533, allocations: 357 kB / 0.6926 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6533, allocations: 0 / 0.6926 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.654, allocations: 85.67 kB / 0.6927 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.654, allocations: 7.141 kB / 0.6927 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.6541, allocations: 10.45 kB / 0.6927 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.123e-06/0.6541, allocations: 4.156 kB / 0.6927 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.719e-06/0.6541, allocations: 0 / 0.6927 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6558, allocations: 0.6305 MB / 0.6933 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.6559, allocations: 105 kB / 0.6934 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.656, allocations: 18.16 kB / 0.6935 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.6564, allocations: 40.33 kB / 0.6935 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.6566, allocations: 42 kB / 0.6935 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/0.6566, allocations: 17.14 kB / 0.6935 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001212/0.6568, allocations: 123.5 kB / 0.6937 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.55e-07/0.6568, allocations: 0 / 0.6937 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005166/0.6573, allocations: 79.89 kB / 0.6937 GB, free: 9.945 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.0001819/0.6575, allocations: 120.9 kB / 0.6939 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.6586, allocations: 387.6 kB / 0.6942 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6587, allocations: 3.938 kB / 0.6942 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.6592, allocations: 195.8 kB / 0.6944 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.6596, allocations: 35.89 kB / 0.6945 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.6611, allocations: 0.698 MB / 0.6951 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.6613, allocations: 0.7751 MB / 0.6959 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.6617, allocations: 43.34 kB / 0.6959 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.6618, allocations: 29.72 kB / 0.696 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of SimCode: time 1.505e-06/0.6619, allocations: 0 / 0.696 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of Templates: time 0.009455/0.6713, allocations: 3.029 MB / 0.6989 GB, free: 7.664 MB / 0.5261 GB