Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 178.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001969/0.001969, allocations: 93.53 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005105/0.0005107, allocations: 13.75 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2949, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003559/0.2986, allocations: 1.606 MB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3007, allocations: 0.652 MB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.301, allocations: 0 / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.149e-05/0.301, allocations: 15.8 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.3013, allocations: 43.91 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.3021, allocations: 123.8 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.3026, allocations: 183.7 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3028, allocations: 48.36 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.3031, allocations: 107.7 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.3034, allocations: 135.5 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.934e-05/0.3036, allocations: 12 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.3037, allocations: 16 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3038, allocations: 59.73 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.3039, allocations: 69.58 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.3043, allocations: 199.7 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3043, allocations: 3.938 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3043, allocations: 0 / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3044, allocations: 0 / 0.9814 GB, free: 25.1 MB / 0.6198 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.002294/0.3067, allocations: 0.6197 MB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.3067, allocations: 12.02 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.307, allocations: 31.72 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.3072, allocations: 211.4 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/0.3075, allocations: 259.8 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.3077, allocations: 35.91 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3088, allocations: 257.8 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.3088, allocations: 4 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.3089, allocations: 8 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.309, allocations: 8 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.31, allocations: 187.8 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.3125, allocations: 0.7817 MB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3136, allocations: 208.3 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.534e-05/0.3137, allocations: 16.5 kB / 0.9839 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.315, allocations: 323.6 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 5.43e-06/0.315, allocations: 0 / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003083/0.3181, allocations: 495.2 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.3184, allocations: 126.7 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.3191, allocations: 175.5 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.3192, allocations: 37.7 kB / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3193, allocations: 117.2 kB / 0.9852 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.3196, allocations: 154 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3198, allocations: 8 kB / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.3201, allocations: 342.8 kB / 0.9856 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.3215, allocations: 149.2 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.3222, allocations: 260.8 kB / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.3229, allocations: 167.9 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3229, allocations: 0 / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001393/0.3243, allocations: 0.4897 MB / 0.9867 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.3244, allocations: 8 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3244, allocations: 80 / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.3244, allocations: 8 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.3251, allocations: 99.81 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.3252, allocations: 7.984 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.3257, allocations: 71.66 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.3257, allocations: 20 kB / 0.9869 GB, free: 19.11 MB / 0.6198 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.0002292/0.326, allocations: 171.9 kB / 0.987 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.326, allocations: 31.61 kB / 0.9871 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.714e-05/0.3261, allocations: 29.88 kB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.3262, allocations: 4 kB / 0.9871 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3262, allocations: 8 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3262, allocations: 3.984 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3266, allocations: 357.2 kB / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3267, allocations: 0 / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/0.3275, allocations: 79.89 kB / 0.9875 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-06/0.3275, allocations: 0 / 0.9875 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.3276, allocations: 20.02 kB / 0.9875 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3276, allocations: 0 / 0.9875 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3276, allocations: 0 / 0.9875 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.3293, allocations: 0.6287 MB / 0.9882 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.3294, allocations: 104.8 kB / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.3295, allocations: 12 kB / 0.9883 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.33, allocations: 39.97 kB / 0.9883 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.3301, allocations: 43.94 kB / 0.9883 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.3302, allocations: 12 kB / 0.9884 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3303, allocations: 129.1 kB / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3303, allocations: 0 / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004888/0.3308, allocations: 83.91 kB / 0.9886 GB, free: 17.26 MB / 0.6198 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.0001801/0.331, allocations: 115.3 kB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.3324, allocations: 394.6 kB / 0.989 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3324, allocations: 4 kB / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.3331, allocations: 183.8 kB / 0.9892 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3335, allocations: 36.11 kB / 0.9893 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.3351, allocations: 0.7029 MB / 0.9899 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3354, allocations: 0.7725 MB / 0.9907 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003438/0.3358, allocations: 51.02 kB / 0.9908 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3359, allocations: 31.42 kB / 0.9908 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.3359, allocations: 0 / 0.9908 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.00923/0.3452, allocations: 3.026 MB / 0.9937 GB, free: 11.93 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)