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.001164/0.001164, allocations: 105.4 kB / 15.7 MB, free: 28 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.001369/0.001369, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.805/1.805, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001504/0.001504, allocations: 66.77 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2996, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.00385/0.3035, allocations: 1.963 MB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3049, allocations: 0.6953 MB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.305, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.566e-05/0.3051, allocations: 19.73 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3052, allocations: 47.58 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.3058, allocations: 143.7 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.3061, allocations: 327.1 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.3063, allocations: 52.36 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.3065, allocations: 127.6 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.3068, allocations: 151.4 kB / 0.7876 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.3068, allocations: 32 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-05/0.3069, allocations: 28 kB / 0.7876 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.307, allocations: 79.72 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.3071, allocations: 131.4 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3075, allocations: 314.9 kB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3075, allocations: 4 kB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3075, allocations: 0 / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3075, allocations: 0 / 0.7881 GB, free: 8.594 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.001352/0.3089, allocations: 0.6275 MB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.3089, allocations: 8.031 kB / 0.7888 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.309, allocations: 28.66 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.3092, allocations: 204.8 kB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.3095, allocations: 260.3 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.3095, allocations: 32.38 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.3101, allocations: 265.8 kB / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3101, allocations: 3.906 kB / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.3102, allocations: 12 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3102, allocations: 4 kB / 0.7895 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.3107, allocations: 175.8 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.3119, allocations: 0.7697 MB / 0.7905 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.3124, allocations: 215.9 kB / 0.7907 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.3127, allocations: 126.5 kB / 0.7908 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.3128, allocations: 19.91 kB / 0.7908 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000584/0.3134, allocations: 311.6 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.485e-06/0.3134, allocations: 0 / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001217/0.3146, allocations: 480.1 kB / 0.7916 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.3147, allocations: 114.8 kB / 0.7917 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.315, allocations: 180.5 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.315, allocations: 41.69 kB / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3152, allocations: 117.2 kB / 0.792 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.3154, allocations: 150 kB / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.3156, allocations: 106.3 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.3158, allocations: 334.8 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.3161, allocations: 157.2 kB / 0.7927 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.3166, allocations: 248.8 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.3173, allocations: 406 kB / 0.7933 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3173, allocations: 0 / 0.7933 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009577/0.3183, allocations: 497.3 kB / 0.7938 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.3183, allocations: 8 kB / 0.7938 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3183, allocations: 4 kB / 0.7938 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.3184, allocations: 4 kB / 0.7938 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.3188, allocations: 99.77 kB / 0.7939 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.3188, allocations: 7.984 kB / 0.7939 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.3191, allocations: 63.5 kB / 0.794 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.3192, allocations: 20 kB / 0.794 GB, free: 2.172 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.000254/0.3194, allocations: 160 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.3195, allocations: 31.64 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.3196, allocations: 29.88 kB / 0.7942 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3196, allocations: 4 kB / 0.7942 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3196, allocations: 4 kB / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.3196, allocations: 3.984 kB / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.3201, allocations: 349.2 kB / 0.7946 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3201, allocations: 3.984 kB / 0.7946 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.3205, allocations: 75.84 kB / 0.7946 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3205, allocations: 8 kB / 0.7946 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.3205, allocations: 12.05 kB / 0.7946 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3205, allocations: 7.938 kB / 0.7947 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3206, allocations: 4 kB / 0.7947 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3216, allocations: 0.5824 MB / 0.7952 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.3217, allocations: 104.7 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.3217, allocations: 11.98 kB / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.322, allocations: 31.97 kB / 0.7954 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3221, allocations: 55.91 kB / 0.7954 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.3221, allocations: 19.98 kB / 0.7954 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001018/0.3222, allocations: 129.2 kB / 0.7956 GB, free: 472 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 0 / 0.7956 GB, free: 472 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003431/0.3226, allocations: 87.89 kB / 0.7956 GB, free: 384 kB / 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.0001817/0.3228, allocations: 124.3 kB / 0.7958 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007508/0.3235, allocations: 378.7 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3236, allocations: 7.938 kB / 0.7961 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.3239, allocations: 190.8 kB / 0.7963 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.3243, allocations: 49.55 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3255, allocations: 0.6068 MB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3259, allocations: 0.7647 MB / 0.7977 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.3261, allocations: 38.97 kB / 0.7977 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.3262, allocations: 39.42 kB / 0.7978 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.3262, allocations: 0 / 0.7978 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of Templates: time 0.008757/0.3349, allocations: 3.917 MB / 0.8016 GB, free: 10.24 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)