Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.961/1.961, allocations: 288.4 MB / 303.7 MB, free: 8.082 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.002296/0.002296, allocations: 189.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.4 MB / 0.631 GB, free: 9.809 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.0009105/0.0009107, allocations: 98.34 kB / 0.7444 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 14.75 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2828, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002007/0.2848, allocations: 1.614 MB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008789/0.2857, allocations: 0.6555 MB / 0.9824 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.2858, allocations: 4 kB / 0.9824 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.2859, allocations: 7.875 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.286, allocations: 39.69 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2864, allocations: 119.8 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.2866, allocations: 283.2 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2868, allocations: 44.39 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.2869, allocations: 111.7 kB / 0.983 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.2871, allocations: 123.5 kB / 0.9831 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.2871, allocations: 16 kB / 0.9831 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.023e-05/0.2872, allocations: 16 kB / 0.9831 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.2872, allocations: 67.72 kB / 0.9832 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2873, allocations: 149 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.2875, allocations: 203.8 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2875, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2875, allocations: 4 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2875, allocations: 0 / 0.9835 GB, free: 23.86 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.001028/0.2886, allocations: 0.6157 MB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2886, allocations: 8.031 kB / 0.9841 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.2887, allocations: 28.66 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2888, allocations: 208.7 kB / 0.9843 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.289, allocations: 268.2 kB / 0.9846 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.2891, allocations: 32.36 kB / 0.9846 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.2895, allocations: 265.9 kB / 0.9849 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.2895, allocations: 11.91 kB / 0.9849 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.2895, allocations: 8 kB / 0.9849 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2896, allocations: 4 kB / 0.9849 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.2899, allocations: 187.8 kB / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009388/0.2909, allocations: 0.7737 MB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.2913, allocations: 211.7 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.2916, allocations: 136.2 kB / 0.9862 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.2916, allocations: 12 kB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.2921, allocations: 327.7 kB / 0.9865 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.335e-06/0.2921, allocations: 0 / 0.9865 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0009265/0.293, allocations: 0.4885 MB / 0.987 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.2931, allocations: 114.8 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.2932, allocations: 175.5 kB / 0.9873 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.2933, allocations: 37.7 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.2933, allocations: 117.2 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.2934, allocations: 153.9 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.2934, allocations: 12 kB / 0.9876 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.2935, allocations: 338.8 kB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.2938, allocations: 153.2 kB / 0.988 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.2941, allocations: 257 kB / 0.9883 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.2946, allocations: 402 kB / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2946, allocations: 0 / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006955/0.2953, allocations: 0.4895 MB / 0.9891 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2954, allocations: 8 kB / 0.9891 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2954, allocations: 0 / 0.9891 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2954, allocations: 11.94 kB / 0.9892 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2958, allocations: 95.83 kB / 0.9892 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.2958, allocations: 11.94 kB / 0.9893 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.296, allocations: 79.58 kB / 0.9893 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.2961, allocations: 20 kB / 0.9893 GB, free: 17.46 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.0001496/0.2962, allocations: 164 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.2963, allocations: 27.66 kB / 0.9895 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.2963, allocations: 37.86 kB / 0.9896 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2964, allocations: 8 kB / 0.9896 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2964, allocations: 0 / 0.9896 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2964, allocations: 3.984 kB / 0.9896 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.2967, allocations: 349.2 kB / 0.9899 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2967, allocations: 0 / 0.9899 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.2971, allocations: 83.83 kB / 0.99 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2971, allocations: 0 / 0.99 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.2971, allocations: 20.05 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2972, allocations: 8 kB / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2972, allocations: 0 / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.2981, allocations: 0.602 MB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2981, allocations: 104.7 kB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.2982, allocations: 12 kB / 0.9907 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.2985, allocations: 47.95 kB / 0.9908 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2986, allocations: 51.92 kB / 0.9908 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.2986, allocations: 16 kB / 0.9908 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.17e-05/0.2987, allocations: 129.1 kB / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2987, allocations: 0 / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003062/0.299, allocations: 83.91 kB / 0.991 GB, free: 15.64 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.0001953/0.2992, allocations: 123.2 kB / 0.9912 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.3, allocations: 398.5 kB / 0.9915 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3, allocations: 0 / 0.9915 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.3003, allocations: 207.7 kB / 0.9917 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3007, allocations: 42.33 kB / 0.9918 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3017, allocations: 0.7054 MB / 0.9925 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.3019, allocations: 0.7647 MB / 0.9932 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.3021, allocations: 47.08 kB / 0.9932 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.3022, allocations: 35.42 kB / 0.9933 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.3022, allocations: 0 / 0.9933 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.006137/0.3084, allocations: 3.298 MB / 0.9965 GB, free: 10 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)