Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001382/0.001382, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.617/1.617, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.732/1.732, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001407/0.001407, allocations: 73.47 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2618, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003401/0.2653, allocations: 2.018 MB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2664, allocations: 0.6788 MB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.2664, allocations: 4 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.857e-05/0.2665, allocations: 11.86 kB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2666, allocations: 31.7 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.2671, allocations: 131.8 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.2674, allocations: 327.1 kB / 0.7867 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.2676, allocations: 48.38 kB / 0.7867 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.2678, allocations: 135.6 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.2679, allocations: 147.4 kB / 0.787 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.2681, allocations: 31.94 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.229e-05/0.2681, allocations: 28 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.2682, allocations: 75.8 kB / 0.7871 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.2684, allocations: 147.3 kB / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.2686, allocations: 207.8 kB / 0.7874 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2686, allocations: 0 / 0.7874 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2686, allocations: 0 / 0.7874 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.2686, allocations: 0 / 0.7874 GB, free: 9.844 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.001193/0.2698, allocations: 0.6275 MB / 0.7881 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2699, allocations: 8.031 kB / 0.7881 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.27, allocations: 32.66 kB / 0.7881 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.2701, allocations: 204.7 kB / 0.7883 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.2704, allocations: 272.3 kB / 0.7886 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.2704, allocations: 32.38 kB / 0.7886 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.2709, allocations: 261.8 kB / 0.7888 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.271, allocations: 7.906 kB / 0.7888 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.271, allocations: 4 kB / 0.7888 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.271, allocations: 4 kB / 0.7888 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.2714, allocations: 175.9 kB / 0.789 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.2725, allocations: 0.7736 MB / 0.7898 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.273, allocations: 211.6 kB / 0.79 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.2733, allocations: 130.5 kB / 0.7901 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.2733, allocations: 11.97 kB / 0.7901 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005948/0.2739, allocations: 311.6 kB / 0.7904 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.873e-06/0.2739, allocations: 0 / 0.7904 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009778/0.2749, allocations: 493 kB / 0.7909 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.275, allocations: 114.8 kB / 0.791 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2752, allocations: 172.6 kB / 0.7911 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.2752, allocations: 41.7 kB / 0.7912 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.2753, allocations: 121.2 kB / 0.7913 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.2754, allocations: 150 kB / 0.7914 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.2756, allocations: 106.3 kB / 0.7915 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2757, allocations: 342.8 kB / 0.7919 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.2761, allocations: 149.2 kB / 0.792 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.2764, allocations: 256.8 kB / 0.7923 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.277, allocations: 398 kB / 0.7926 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2771, allocations: 0 / 0.7926 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007867/0.2778, allocations: 489.3 kB / 0.7931 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2779, allocations: 8 kB / 0.7931 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2779, allocations: 4 kB / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2779, allocations: 4 kB / 0.7931 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.2783, allocations: 95.83 kB / 0.7932 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2783, allocations: 4 kB / 0.7932 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.2786, allocations: 75.55 kB / 0.7933 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.2787, allocations: 20 kB / 0.7933 GB, free: 3.418 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.0001775/0.2788, allocations: 156 kB / 0.7935 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.2789, allocations: 31.66 kB / 0.7935 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.279, allocations: 33.86 kB / 0.7935 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.279, allocations: 4 kB / 0.7935 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.279, allocations: 7.938 kB / 0.7935 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.279, allocations: 7.984 kB / 0.7935 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.2795, allocations: 349.2 kB / 0.7939 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2795, allocations: 0 / 0.7939 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.2799, allocations: 79.83 kB / 0.794 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2799, allocations: 0 / 0.794 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.2799, allocations: 23.92 kB / 0.794 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.2799, allocations: 3.938 kB / 0.794 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2799, allocations: 0 / 0.794 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.281, allocations: 0.5745 MB / 0.7945 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.281, allocations: 104.7 kB / 0.7946 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.2811, allocations: 12 kB / 0.7946 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2813, allocations: 35.95 kB / 0.7947 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.2814, allocations: 43.98 kB / 0.7947 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.2815, allocations: 15.98 kB / 0.7947 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.177e-05/0.2816, allocations: 125.2 kB / 0.7949 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2816, allocations: 4 kB / 0.7949 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003273/0.2819, allocations: 79.91 kB / 0.7949 GB, free: 1.648 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.0002371/0.2822, allocations: 138.1 kB / 0.7951 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007678/0.2829, allocations: 398.5 kB / 0.7955 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2829, allocations: 0 / 0.7955 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.2833, allocations: 181.9 kB / 0.7956 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2836, allocations: 50.3 kB / 0.7957 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2849, allocations: 0.7254 MB / 0.7964 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.2852, allocations: 0.7608 MB / 0.7971 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2854, allocations: 39.42 kB / 0.7972 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2854, allocations: 0 / 0.7972 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.006211/0.2916, allocations: 3.968 MB / 0.801 GB, free: 11.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)