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_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.475/2.475, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001657/0.001657, allocations: 185 kB / 325.6 MB, free: 2.848 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.775/2.775, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001201/0.001201, allocations: 102.3 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006753/0.0006753, allocations: 14.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2627, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002332/0.2651, allocations: 1.67 MB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2665, allocations: 0.6596 MB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2667, allocations: 0 / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.2667, allocations: 19.84 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.2669, allocations: 47.78 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.2674, allocations: 107.9 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.2677, allocations: 195.6 kB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.2679, allocations: 36.39 kB / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.2681, allocations: 115.6 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2683, allocations: 131.5 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.2684, allocations: 16 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.2684, allocations: 16 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.2685, allocations: 59.8 kB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.2686, allocations: 61.58 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.2689, allocations: 207.7 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2689, allocations: 4 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2689, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2689, allocations: 0 / 0.9022 GB, free: 62.12 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.001619/0.2705, allocations: 0.6041 MB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2706, allocations: 8.031 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.2707, allocations: 39.58 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2708, allocations: 183.7 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.2711, allocations: 275.6 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.2712, allocations: 28 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.2719, allocations: 265.7 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.2719, allocations: 0 / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.272, allocations: 8 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.272, allocations: 4 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.2727, allocations: 199.8 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.2742, allocations: 0.7777 MB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.2749, allocations: 220.4 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.275, allocations: 8.125 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007429/0.2757, allocations: 315.6 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.777e-06/0.2758, allocations: 4 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0016/0.2774, allocations: 0.497 MB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2774, allocations: 122.8 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2776, allocations: 179.4 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.2777, allocations: 45.64 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.2778, allocations: 117.3 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2779, allocations: 142 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.278, allocations: 16 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.2781, allocations: 342.8 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.2786, allocations: 153.2 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.2791, allocations: 248.8 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.2797, allocations: 171.9 kB / 0.9069 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2797, allocations: 0 / 0.9069 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001345/0.2811, allocations: 0.4933 MB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2811, allocations: 4 kB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2811, allocations: 4 kB / 0.9074 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.2812, allocations: 4 kB / 0.9074 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.2819, allocations: 95.83 kB / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.2819, allocations: 11.98 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.2824, allocations: 71.66 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.2825, allocations: 20.06 kB / 0.9076 GB, free: 56.14 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.0002173/0.2827, allocations: 156 kB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.2828, allocations: 39.66 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.2829, allocations: 33.88 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2829, allocations: 4 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.2829, allocations: 96 / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.283, allocations: 7.969 kB / 0.9079 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.2834, allocations: 353.1 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2834, allocations: 4 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.2842, allocations: 79.83 kB / 0.9083 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.2842, allocations: 7.953 kB / 0.9083 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.2843, allocations: 19.98 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.2843, allocations: 4 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2843, allocations: 0 / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.286, allocations: 0.613 MB / 0.9089 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.2861, allocations: 104.7 kB / 0.909 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.2862, allocations: 11.98 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.2866, allocations: 48.06 kB / 0.9091 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.2868, allocations: 40.06 kB / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.2868, allocations: 16 kB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001036/0.287, allocations: 129.2 kB / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.287, allocations: 0 / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004697/0.2874, allocations: 83.98 kB / 0.9093 GB, free: 54.3 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.0001805/0.2876, allocations: 116.2 kB / 0.9094 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.2888, allocations: 392.2 kB / 0.9098 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2888, allocations: 0 / 0.9098 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.2894, allocations: 191.7 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.2898, allocations: 41.44 kB / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2914, allocations: 0.6978 MB / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2916, allocations: 0.7725 MB / 0.9115 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002779/0.2919, allocations: 38.97 kB / 0.9115 GB, free: 52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.2921, allocations: 31.44 kB / 0.9115 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.303e-06/0.2921, allocations: 0 / 0.9115 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.008925/0.301, allocations: 3.032 MB / 0.9145 GB, free: 48.97 MB / 0.6042 GB