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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 287.5 MB / 302.6 MB, free: 8.223 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.001083/0.001083, allocations: 177 kB / 371.2 MB, free: 10.81 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.608/1.608, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008667/0.0008669, allocations: 97.47 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004313, allocations: 13.09 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002069/0.2932, allocations: 1.613 MB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.2942, allocations: 0.6488 MB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.2943, allocations: 4 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.2943, allocations: 11.86 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2945, allocations: 35.7 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.2949, allocations: 123.7 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.2951, allocations: 287.2 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2953, allocations: 44.33 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2955, allocations: 115.7 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2956, allocations: 127.5 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.2957, allocations: 16 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.2957, allocations: 16 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.2957, allocations: 59.8 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.2958, allocations: 65.58 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.296, allocations: 211.7 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.296, allocations: 0 / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.296, allocations: 0 / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.296, allocations: 0 / 0.982 GB, free: 24.75 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.001045/0.2971, allocations: 0.612 MB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2971, allocations: 8.031 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.2972, allocations: 32.66 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2973, allocations: 204.7 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.2975, allocations: 264.3 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.2976, allocations: 32.36 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.298, allocations: 265.9 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2981, allocations: 3.906 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.2981, allocations: 12 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2981, allocations: 4 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.2985, allocations: 187.8 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2995, allocations: 0.7854 MB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.3, allocations: 215.7 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3002, allocations: 130.5 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.3003, allocations: 19.92 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.3008, allocations: 315.8 kB / 0.985 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.063e-06/0.3008, allocations: 0 / 0.985 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0009563/0.3018, allocations: 0.4921 MB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3018, allocations: 122.7 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.302, allocations: 175.5 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.302, allocations: 37.7 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.3021, allocations: 117.2 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.3022, allocations: 150 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.3022, allocations: 12 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.3023, allocations: 342.8 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.3026, allocations: 149.2 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.3029, allocations: 268.6 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.3034, allocations: 390.1 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3034, allocations: 4 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007309/0.3042, allocations: 0.4891 MB / 0.9876 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3042, allocations: 4 kB / 0.9876 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3042, allocations: 4 kB / 0.9876 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3043, allocations: 4 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.3046, allocations: 99.81 kB / 0.9877 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3046, allocations: 11.94 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3049, allocations: 75.59 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.3049, allocations: 20 kB / 0.9878 GB, free: 18.36 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.0001408/0.3051, allocations: 160.3 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3051, allocations: 31.64 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.3052, allocations: 33.88 kB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3052, allocations: 8 kB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3052, allocations: 0 / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3052, allocations: 4.047 kB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.3055, allocations: 357.2 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3055, allocations: 4 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.3059, allocations: 75.84 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3059, allocations: 4 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.3059, allocations: 15.98 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3059, allocations: 4 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3059, allocations: 4 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.3069, allocations: 0.5939 MB / 0.9891 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.3069, allocations: 104.7 kB / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.307, allocations: 15.98 kB / 0.9892 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3072, allocations: 43.97 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.3073, allocations: 39.94 kB / 0.9893 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3073, allocations: 16 kB / 0.9893 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.3074, allocations: 129.1 kB / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3074, allocations: 0 / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002747/0.3077, allocations: 83.91 kB / 0.9895 GB, free: 16.55 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.0001553/0.3078, allocations: 119.2 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006221/0.3085, allocations: 396.5 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3085, allocations: 4 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.3088, allocations: 191.7 kB / 0.9902 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3091, allocations: 48.03 kB / 0.9902 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.3101, allocations: 0.6977 MB / 0.9909 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.3103, allocations: 0.7608 MB / 0.9916 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.3104, allocations: 47.12 kB / 0.9917 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.3105, allocations: 35.38 kB / 0.9917 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3105, allocations: 0 / 0.9917 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.005629/0.3162, allocations: 3.033 MB / 0.9947 GB, free: 11.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)