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.453/2.453, allocations: 251.1 MB / 266.1 MB, free: 11.54 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.001607/0.001607, allocations: 191.7 kB / 325.6 MB, free: 2.801 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.465/2.465, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001081/0.00108, allocations: 102.9 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004845, allocations: 13.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 106.3 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003474/0.2842, allocations: 1.659 MB / 0.9005 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2862, allocations: 0.6635 MB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.2864, allocations: 4 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.263e-05/0.2865, allocations: 11.86 kB / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.2868, allocations: 43.84 kB / 0.9012 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.2876, allocations: 119.8 kB / 0.9013 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.288, allocations: 187.6 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.2882, allocations: 52.34 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.2885, allocations: 103.6 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.2888, allocations: 131.5 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.2889, allocations: 16 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.289, allocations: 16 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2891, allocations: 63.78 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2893, allocations: 61.58 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.2896, allocations: 207.7 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2897, allocations: 0 / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2897, allocations: 0 / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2897, allocations: 4 kB / 0.9021 GB, free: 62.04 MB / 0.6042 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.002339/0.2921, allocations: 0.6041 MB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.2921, allocations: 8.031 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.2923, allocations: 35.58 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.2925, allocations: 195.6 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.2929, allocations: 267.7 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.293, allocations: 28 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.294, allocations: 265.7 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.2941, allocations: 4 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.2942, allocations: 4 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2942, allocations: 4 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2953, allocations: 199.8 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.2974, allocations: 0.7816 MB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2985, allocations: 214.5 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.2987, allocations: 12.17 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.2998, allocations: 319.6 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 4.288e-06/0.2998, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002352/0.3022, allocations: 0.4917 MB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3023, allocations: 118.8 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3026, allocations: 175.4 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.3027, allocations: 41.7 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.3028, allocations: 125.3 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.303, allocations: 146 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.3031, allocations: 12 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3032, allocations: 342.8 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.304, allocations: 153.2 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008244/0.3049, allocations: 252.8 kB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.3057, allocations: 167.9 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.3057, allocations: 3.938 kB / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002066/0.3078, allocations: 0.4969 MB / 0.9074 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.3079, allocations: 4 kB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.3079, allocations: 4 kB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.308, allocations: 8.094 kB / 0.9074 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.309, allocations: 99.81 kB / 0.9075 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.3091, allocations: 4 kB / 0.9075 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/0.3098, allocations: 75.64 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.3099, allocations: 20 kB / 0.9076 GB, free: 56.07 MB / 0.6042 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.0003188/0.3102, allocations: 164 kB / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3104, allocations: 27.67 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.3105, allocations: 29.88 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3106, allocations: 8 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.3106, allocations: 0 / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3106, allocations: 7.984 kB / 0.9079 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.3113, allocations: 357.1 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3113, allocations: 0 / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.3125, allocations: 75.89 kB / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.3125, allocations: 7.953 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.3126, allocations: 8 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.3127, allocations: 7.938 kB / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3127, allocations: 4 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.3152, allocations: 0.6169 MB / 0.9089 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3153, allocations: 112.7 kB / 0.909 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3155, allocations: 12.06 kB / 0.909 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.3161, allocations: 43.97 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.3163, allocations: 39.97 kB / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.3164, allocations: 16 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001654/0.3166, allocations: 124.1 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.41e-07/0.3166, allocations: 0 / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007783/0.3174, allocations: 84 kB / 0.9093 GB, free: 54.23 MB / 0.6042 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.0002675/0.3177, allocations: 117.7 kB / 0.9094 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.3195, allocations: 392.6 kB / 0.9098 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.3196, allocations: 0 / 0.9098 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.3205, allocations: 188.3 kB / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.3211, allocations: 48.23 kB / 0.91 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.3233, allocations: 0.6939 MB / 0.9107 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3236, allocations: 0.7688 MB / 0.9114 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004305/0.3241, allocations: 42.95 kB / 0.9115 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3243, allocations: 35.42 kB / 0.9115 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.3244, allocations: 4 kB / 0.9115 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.01312/0.3375, allocations: 3.024 MB / 0.9145 GB, free: 48.89 MB / 0.6042 GB