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.001671/0.001671, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.812/1.812, allocations: 205.1 MB / 222.4 MB, free: 4.547 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.821/1.821, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.00156/0.00156, allocations: 73.67 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3071, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003973/0.3111, allocations: 1.968 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3126, allocations: 0.6876 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.3127, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.23e-05/0.3128, allocations: 23.67 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3129, allocations: 43.58 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.3135, allocations: 151.7 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.3139, allocations: 327.1 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3141, allocations: 44.38 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3143, allocations: 127.7 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.3145, allocations: 155.3 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.3145, allocations: 28 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.3146, allocations: 32 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.3147, allocations: 79.78 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3148, allocations: 131.4 kB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.3152, allocations: 299.3 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3152, allocations: 0 / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3152, allocations: 0 / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3152, allocations: 0 / 0.7873 GB, free: 9.387 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.001368/0.3166, allocations: 0.6236 MB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3167, allocations: 8.031 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.3168, allocations: 36.64 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3169, allocations: 200.8 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.3172, allocations: 272.3 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.3172, allocations: 28.36 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.3178, allocations: 265.8 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.3178, allocations: 11.83 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.3178, allocations: 8 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3178, allocations: 8 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.3183, allocations: 175.9 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.3194, allocations: 0.7776 MB / 0.7897 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.3199, allocations: 206.2 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.3202, allocations: 130.5 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.3202, allocations: 12 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007029/0.321, allocations: 315.5 kB / 0.7903 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.094e-06/0.321, allocations: 4 kB / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001121/0.3221, allocations: 476.2 kB / 0.7908 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3222, allocations: 114.8 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3224, allocations: 176.6 kB / 0.7911 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.3225, allocations: 45.7 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.3226, allocations: 121.2 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.3227, allocations: 149.9 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3229, allocations: 102.3 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.3231, allocations: 342.8 kB / 0.7918 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.3234, allocations: 153.2 kB / 0.7919 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3238, allocations: 248.8 kB / 0.7922 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.3245, allocations: 402 kB / 0.7925 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3245, allocations: 4 kB / 0.7926 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008599/0.3254, allocations: 485.5 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.3255, allocations: 7.938 kB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3255, allocations: 8 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.3255, allocations: 8 kB / 0.793 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.3259, allocations: 91.83 kB / 0.7931 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3259, allocations: 4 kB / 0.7931 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.3262, allocations: 67.5 kB / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.3263, allocations: 23.98 kB / 0.7932 GB, free: 2.961 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.000203/0.3265, allocations: 160 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.3266, allocations: 31.66 kB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.3267, allocations: 33.86 kB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.3267, allocations: 8 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.3267, allocations: 0 / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3267, allocations: 0 / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.3271, allocations: 349.2 kB / 0.7938 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3271, allocations: 3.938 kB / 0.7938 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3275, allocations: 79.83 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3276, allocations: 7.938 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.3276, allocations: 15.98 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3276, allocations: 8 kB / 0.7939 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3276, allocations: 0 / 0.7939 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3288, allocations: 0.5706 MB / 0.7944 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.3289, allocations: 112.6 kB / 0.7945 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.329, allocations: 16.06 kB / 0.7946 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3292, allocations: 31.95 kB / 0.7946 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.3294, allocations: 59.97 kB / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.3294, allocations: 19.98 kB / 0.7947 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001263/0.3296, allocations: 125.2 kB / 0.7948 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3296, allocations: 0 / 0.7948 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004046/0.33, allocations: 87.91 kB / 0.7949 GB, free: 1.16 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.0002663/0.3303, allocations: 122.1 kB / 0.795 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.3313, allocations: 407.4 kB / 0.7954 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3313, allocations: 0 / 0.7954 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.3317, allocations: 202 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3321, allocations: 51 kB / 0.7956 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3338, allocations: 0.6105 MB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.3343, allocations: 0.7647 MB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.3345, allocations: 43.14 kB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3346, allocations: 39.42 kB / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of SimCode: time 1.9e-07/0.3346, allocations: 0 / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.008629/0.3432, allocations: 4.008 MB / 0.801 GB, free: 10.89 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)