Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.299/2.299, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002971/0.002971, allocations: 188.5 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.409/2.409, allocations: 205.4 MB / 0.5766 GB, free: 21.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 90.25 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.000482, allocations: 18.34 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 106.2 MB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2442/0.4652, allocations: 132.3 MB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004263/0.4657, allocations: 75.95 kB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06016/0.5259, allocations: 8.792 MB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/0.5259, allocations: 0 / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.526, allocations: 11.94 kB / 1.037 GB, free: 4.5 MB / 0.6823 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.001763/0.5277, allocations: 0.6183 MB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5278, allocations: 8.031 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.5279, allocations: 35.83 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.5281, allocations: 187.7 kB / 1.038 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.5284, allocations: 271.6 kB / 1.038 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.5285, allocations: 35.92 kB / 1.038 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.5293, allocations: 261.7 kB / 1.038 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.5293, allocations: 11.92 kB / 1.038 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.5294, allocations: 12 kB / 1.038 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5294, allocations: 8 kB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.5302, allocations: 179.9 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.5321, allocations: 0.8011 MB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.5329, allocations: 212.7 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.533, allocations: 16.09 kB / 1.039 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008469/0.5339, allocations: 307.5 kB / 1.04 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.517e-06/0.5339, allocations: 0 / 1.04 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.001856/0.5358, allocations: 0.4885 MB / 1.04 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.5359, allocations: 114.8 kB / 1.04 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.5361, allocations: 158.6 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.694e-05/0.5362, allocations: 41.7 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5363, allocations: 117.2 kB / 1.041 GB, free: 340 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.5365, allocations: 150 kB / 1.041 GB, free: 188 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.5366, allocations: 12 kB / 1.041 GB, free: 176 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5368, allocations: 346.8 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.5373, allocations: 153.2 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.538, allocations: 260.6 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.5386, allocations: 168 kB / 1.042 GB, free: 15.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5386, allocations: 0 / 1.042 GB, free: 15.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001538/0.5402, allocations: 492.9 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.5402, allocations: 9.25 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5403, allocations: 8 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.5403, allocations: 4 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.5411, allocations: 95.83 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.5411, allocations: 15.92 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.5416, allocations: 71.66 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.5417, allocations: 24.06 kB / 1.042 GB, free: 14.51 MB / 0.698 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.0002694/0.542, allocations: 169.5 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.5421, allocations: 27.7 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.827e-05/0.5422, allocations: 29.88 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5422, allocations: 8 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.5422, allocations: 0 / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5422, allocations: 3.984 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.5428, allocations: 357.1 kB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.5429, allocations: 3.984 kB / 1.043 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.5437, allocations: 75.91 kB / 1.043 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.5437, allocations: 7.938 kB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.5438, allocations: 15.98 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.5438, allocations: 0 / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5438, allocations: 7.938 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.5457, allocations: 0.6246 MB / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.5458, allocations: 104.7 kB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.5459, allocations: 11.98 kB / 1.044 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.5464, allocations: 47.97 kB / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5466, allocations: 43.89 kB / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.5467, allocations: 12 kB / 1.044 GB, free: 12.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001395/0.5468, allocations: 124.1 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5468, allocations: 0 / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005038/0.5474, allocations: 84 kB / 1.044 GB, free: 12.66 MB / 0.698 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.0002369/0.5476, allocations: 119.3 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.549, allocations: 392.8 kB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.549, allocations: 4 kB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006465/0.5496, allocations: 183.8 kB / 1.045 GB, free: 11.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.5501, allocations: 40.53 kB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.5519, allocations: 0.6947 MB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.5524, allocations: 0.7725 MB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.5528, allocations: 39.14 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.5529, allocations: 39.42 kB / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/0.553, allocations: 0 / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Performance of Templates: time 0.01617/0.5691, allocations: 3.039 MB / 1.049 GB, free: 7.324 MB / 0.698 GB