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.001118/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.653/1.653, allocations: 205.1 MB / 222 MB, free: 4.746 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.823/1.823, allocations: 292.3 MB / 0.5484 GB, free: 13.61 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.001476/0.001476, allocations: 72.27 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2654, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.00354/0.269, allocations: 2.014 MB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2702, allocations: 0.6866 MB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.2702, allocations: 0 / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.538e-05/0.2703, allocations: 11.86 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.2705, allocations: 31.7 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.2709, allocations: 143.7 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2712, allocations: 307.1 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2713, allocations: 44.38 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2715, allocations: 119.5 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2717, allocations: 147.4 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.2717, allocations: 16 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.834e-05/0.2717, allocations: 20 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.2718, allocations: 63.73 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2719, allocations: 127.3 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.2722, allocations: 283.3 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2722, allocations: 0 / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2722, allocations: 0 / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.2722, allocations: 0 / 0.7866 GB, free: 9.945 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.001271/0.2735, allocations: 0.6315 MB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2736, allocations: 8.031 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.2736, allocations: 40.59 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.2738, allocations: 196.8 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.274, allocations: 264.3 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.2741, allocations: 28.38 kB / 0.7877 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.2746, allocations: 261.8 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2746, allocations: 3.906 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.2747, allocations: 16 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2747, allocations: 4 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.2751, allocations: 176.5 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.2762, allocations: 0.7814 MB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.2767, allocations: 207.7 kB / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.277, allocations: 130.5 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.277, allocations: 7.984 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005648/0.2776, allocations: 311.6 kB / 0.7895 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.2776, allocations: 0 / 0.7895 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001024/0.2786, allocations: 485.5 kB / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.2787, allocations: 118.7 kB / 0.7901 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.2789, allocations: 181.4 kB / 0.7903 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.279, allocations: 41.69 kB / 0.7903 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.279, allocations: 117.2 kB / 0.7904 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.2792, allocations: 146 kB / 0.7906 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.2793, allocations: 106.3 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2795, allocations: 342.8 kB / 0.791 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.2798, allocations: 149.2 kB / 0.7912 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.2802, allocations: 248.8 kB / 0.7914 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006115/0.2808, allocations: 398 kB / 0.7918 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2808, allocations: 7.938 kB / 0.7918 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000817/0.2816, allocations: 493 kB / 0.7923 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2817, allocations: 10.81 kB / 0.7923 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2817, allocations: 4 kB / 0.7923 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2817, allocations: 8.094 kB / 0.7923 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.2821, allocations: 95.81 kB / 0.7924 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.2821, allocations: 11.98 kB / 0.7924 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.2824, allocations: 59.5 kB / 0.7924 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.2825, allocations: 20 kB / 0.7925 GB, free: 3.523 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.0001737/0.2827, allocations: 163.9 kB / 0.7926 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.2827, allocations: 31.64 kB / 0.7926 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/0.2828, allocations: 33.88 kB / 0.7927 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2828, allocations: 4 kB / 0.7927 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2828, allocations: 0 / 0.7927 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2828, allocations: 3.984 kB / 0.7927 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.2832, allocations: 349.2 kB / 0.793 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2832, allocations: 4 kB / 0.793 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2836, allocations: 75.83 kB / 0.7931 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2836, allocations: 7.938 kB / 0.7931 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.2837, allocations: 15.98 kB / 0.7931 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2837, allocations: 4 kB / 0.7931 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2837, allocations: 0 / 0.7931 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.2847, allocations: 0.5823 MB / 0.7937 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.2848, allocations: 104.7 kB / 0.7938 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.2849, allocations: 11.98 kB / 0.7938 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2851, allocations: 31.97 kB / 0.7938 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2852, allocations: 55.92 kB / 0.7939 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.2853, allocations: 12 kB / 0.7939 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001056/0.2854, allocations: 132.3 kB / 0.794 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2854, allocations: 4 kB / 0.794 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003347/0.2857, allocations: 79.91 kB / 0.7941 GB, free: 1.738 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.0001823/0.2859, allocations: 123.2 kB / 0.7942 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00074/0.2867, allocations: 388 kB / 0.7946 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.159e-05/0.2867, allocations: 4 kB / 0.7946 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.2871, allocations: 203.7 kB / 0.7948 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2874, allocations: 44.23 kB / 0.7948 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2886, allocations: 0.697 MB / 0.7955 GB, free: 260 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.289, allocations: 0.7686 MB / 0.7963 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.2891, allocations: 34.97 kB / 0.7963 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2893, allocations: 35.42 kB / 0.7963 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2893, allocations: 3.938 kB / 0.7963 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of Templates: time 0.007232/0.2965, allocations: 3.441 MB / 0.7997 GB, free: 11.97 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)