Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 105.6 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 193.1 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 70.53 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2717, allocations: 114.6 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003455/0.2752, allocations: 2.018 MB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2764, allocations: 0.6827 MB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.2765, allocations: 0 / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.2766, allocations: 15.75 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2767, allocations: 43.69 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.2771, allocations: 123.9 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.2774, allocations: 327.1 kB / 0.7867 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.2776, allocations: 48.38 kB / 0.7867 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.2778, allocations: 127.7 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.278, allocations: 151.3 kB / 0.787 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.278, allocations: 28 kB / 0.787 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.396e-05/0.2781, allocations: 32 kB / 0.787 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.2782, allocations: 79.78 kB / 0.7871 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2783, allocations: 135.4 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.2785, allocations: 215.8 kB / 0.7874 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.2785, allocations: 4 kB / 0.7874 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2785, allocations: 0 / 0.7874 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.2785, allocations: 0 / 0.7874 GB, free: 9.82 MB / 0.6075 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.00123/0.2798, allocations: 0.6275 MB / 0.7881 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.2798, allocations: 8.031 kB / 0.7881 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/0.2799, allocations: 36.58 kB / 0.7881 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2801, allocations: 200.8 kB / 0.7883 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.2803, allocations: 260.3 kB / 0.7885 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.2804, allocations: 32.36 kB / 0.7886 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.2809, allocations: 265.8 kB / 0.7888 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2809, allocations: 3.906 kB / 0.7888 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.2809, allocations: 15.98 kB / 0.7888 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2809, allocations: 4 kB / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.2813, allocations: 183.8 kB / 0.789 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2824, allocations: 0.7697 MB / 0.7898 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.2829, allocations: 207.7 kB / 0.79 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.2831, allocations: 130.5 kB / 0.7901 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.2832, allocations: 8 kB / 0.7901 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005877/0.2838, allocations: 315.5 kB / 0.7904 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.736e-06/0.2838, allocations: 0 / 0.7904 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009939/0.2848, allocations: 480.3 kB / 0.7909 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.2849, allocations: 122.7 kB / 0.791 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.285, allocations: 180.6 kB / 0.7912 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.2851, allocations: 37.7 kB / 0.7912 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.2852, allocations: 113.2 kB / 0.7913 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2853, allocations: 157.9 kB / 0.7914 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.2854, allocations: 102.3 kB / 0.7915 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2856, allocations: 350.7 kB / 0.7919 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.2859, allocations: 145.2 kB / 0.792 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.2862, allocations: 252.8 kB / 0.7923 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.2868, allocations: 394 kB / 0.7926 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2868, allocations: 0 / 0.7926 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007904/0.2876, allocations: 493.5 kB / 0.7931 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2877, allocations: 4 kB / 0.7931 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2877, allocations: 7.984 kB / 0.7931 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2877, allocations: 4 kB / 0.7931 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.2881, allocations: 95.83 kB / 0.7932 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2881, allocations: 4.062 kB / 0.7932 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.2884, allocations: 71.5 kB / 0.7933 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.2885, allocations: 20 kB / 0.7933 GB, free: 3.402 MB / 0.6075 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.2886, allocations: 168 kB / 0.7935 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.2887, allocations: 27.66 kB / 0.7935 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.2888, allocations: 29.88 kB / 0.7935 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2888, allocations: 11.98 kB / 0.7935 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2888, allocations: 0 / 0.7935 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.2888, allocations: 0 / 0.7935 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.2892, allocations: 357.2 kB / 0.7939 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2892, allocations: 4 kB / 0.7939 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.2896, allocations: 75.83 kB / 0.7939 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2896, allocations: 7.938 kB / 0.794 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.2896, allocations: 12 kB / 0.794 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.2896, allocations: 4 kB / 0.794 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2896, allocations: 3.984 kB / 0.794 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009953/0.2906, allocations: 0.5784 MB / 0.7945 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2907, allocations: 108.7 kB / 0.7946 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.2908, allocations: 8 kB / 0.7947 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.291, allocations: 31.97 kB / 0.7947 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2911, allocations: 43.94 kB / 0.7947 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.2912, allocations: 16 kB / 0.7947 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.749e-05/0.2913, allocations: 129.1 kB / 0.7949 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2913, allocations: 0 / 0.7949 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003229/0.2916, allocations: 79.91 kB / 0.7949 GB, free: 1.629 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.2918, allocations: 119.2 kB / 0.7951 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007745/0.2926, allocations: 410.5 kB / 0.7954 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.2926, allocations: 0 / 0.7954 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.2929, allocations: 182.1 kB / 0.7956 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2932, allocations: 47.86 kB / 0.7957 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2944, allocations: 0.7266 MB / 0.7964 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2947, allocations: 0.7647 MB / 0.7971 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.2948, allocations: 35.44 kB / 0.7972 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2948, allocations: 0 / 0.7972 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.005811/0.3007, allocations: 3.977 MB / 0.801 GB, free: 11.33 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)