Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 105.4 kB / 15.7 MB, free: 24 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.001304/0.001304, allocations: 195.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.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.889/1.889, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001634/0.001634, allocations: 74.12 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2908, allocations: 114.6 MB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004276/0.2951, allocations: 1.964 MB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2967, allocations: 0.6876 MB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.2969, allocations: 0 / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.305e-05/0.2971, allocations: 23.67 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2973, allocations: 39.58 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.2979, allocations: 151.7 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.2984, allocations: 327.1 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.2986, allocations: 48.31 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.299, allocations: 131.6 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.2993, allocations: 155.3 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.2993, allocations: 28 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.2994, allocations: 32 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.2995, allocations: 79.73 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.2997, allocations: 135.3 kB / 0.7878 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.3001, allocations: 303 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3001, allocations: 4 kB / 0.7881 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3001, allocations: 0 / 0.7881 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.3001, allocations: 0 / 0.7881 GB, free: 8.578 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.001469/0.3016, allocations: 0.6236 MB / 0.7887 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3017, allocations: 16.03 kB / 0.7888 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3018, allocations: 28.66 kB / 0.7888 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.302, allocations: 204.7 kB / 0.789 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.3022, allocations: 264.3 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.3023, allocations: 32.36 kB / 0.7893 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.3028, allocations: 257.9 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3029, allocations: 7.906 kB / 0.7895 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.3029, allocations: 8 kB / 0.7895 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3029, allocations: 8 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.3034, allocations: 180.4 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3046, allocations: 0.7659 MB / 0.7905 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.3051, allocations: 203.7 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.3054, allocations: 138.7 kB / 0.7908 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.3055, allocations: 8 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005725/0.3061, allocations: 315.5 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.303e-05/0.3061, allocations: 7.984 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001043/0.3071, allocations: 488.7 kB / 0.7916 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.3072, allocations: 114.8 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3074, allocations: 172.6 kB / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.3075, allocations: 41.7 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.3076, allocations: 121.2 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.3077, allocations: 153.9 kB / 0.7921 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.3079, allocations: 102.3 kB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.308, allocations: 338.8 kB / 0.7926 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.3084, allocations: 153.2 kB / 0.7927 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3087, allocations: 256.7 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.3094, allocations: 394.1 kB / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3094, allocations: 0 / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000889/0.3103, allocations: 489.6 kB / 0.7938 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3103, allocations: 8 kB / 0.7938 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3103, allocations: 4 kB / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3104, allocations: 4 kB / 0.7938 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.3108, allocations: 99.83 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.3108, allocations: 11.88 kB / 0.7939 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.3111, allocations: 63.5 kB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.3111, allocations: 23.98 kB / 0.794 GB, free: 2.152 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.0001792/0.3113, allocations: 156 kB / 0.7941 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.3114, allocations: 31.66 kB / 0.7942 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.3115, allocations: 33.86 kB / 0.7942 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3115, allocations: 8 kB / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3115, allocations: 0 / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3115, allocations: 4 kB / 0.7942 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.3119, allocations: 353.2 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3119, allocations: 96 / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.3123, allocations: 79.83 kB / 0.7946 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.3123, allocations: 3.984 kB / 0.7946 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.3124, allocations: 19.98 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3124, allocations: 80 / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3124, allocations: 3.984 kB / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3135, allocations: 0.5784 MB / 0.7952 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.3136, allocations: 108.7 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.3136, allocations: 8 kB / 0.7953 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3138, allocations: 35.95 kB / 0.7954 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.314, allocations: 59.88 kB / 0.7954 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.314, allocations: 19.98 kB / 0.7954 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001012/0.3141, allocations: 125.2 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3141, allocations: 0 / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003534/0.3145, allocations: 83.91 kB / 0.7956 GB, free: 368 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.0002029/0.3147, allocations: 127.1 kB / 0.7958 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008476/0.3156, allocations: 386.6 kB / 0.7961 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3156, allocations: 0 / 0.7961 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.316, allocations: 187.7 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3164, allocations: 56.16 kB / 0.7964 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3177, allocations: 0.6025 MB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3181, allocations: 0.7647 MB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.3182, allocations: 38.97 kB / 0.7977 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3184, allocations: 35.44 kB / 0.7978 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3184, allocations: 0 / 0.7978 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of Templates: time 0.008762/0.3271, allocations: 3.932 MB / 0.8016 GB, free: 10.21 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)