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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001403/0.001403, allocations: 193 kB / 16.13 MB, free: 6.652 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.674/1.674, allocations: 205.1 MB / 222 MB, free: 4.754 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.853/1.853, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001346/0.001346, allocations: 75.27 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2882, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002944/0.2912, allocations: 2.018 MB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2923, allocations: 0.6826 MB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.2923, allocations: 4 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.744e-05/0.2924, allocations: 11.86 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2925, allocations: 31.7 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.2929, allocations: 135.8 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.2932, allocations: 311.1 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2933, allocations: 44.38 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2935, allocations: 111.7 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2936, allocations: 143.4 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.2937, allocations: 16 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/0.2937, allocations: 20 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.2938, allocations: 71.72 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2939, allocations: 119.4 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2942, allocations: 291.3 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2942, allocations: 0 / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.71e-07/0.2942, allocations: 0 / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2942, allocations: 0 / 0.7866 GB, free: 9.961 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.001213/0.2954, allocations: 0.6315 MB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2955, allocations: 11.97 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.2955, allocations: 32.64 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2957, allocations: 196.8 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.2959, allocations: 264.3 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.2959, allocations: 28.38 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.2964, allocations: 265.8 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2965, allocations: 3.906 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.2965, allocations: 15.98 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2965, allocations: 7.984 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.2969, allocations: 175.8 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.298, allocations: 0.7776 MB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.2984, allocations: 199.7 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2987, allocations: 134.5 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.2987, allocations: 15.98 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/0.2993, allocations: 311.6 kB / 0.7896 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.2994, allocations: 0 / 0.7896 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009873/0.3003, allocations: 488.2 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.3004, allocations: 114.8 kB / 0.7901 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3006, allocations: 176.6 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.3006, allocations: 37.7 kB / 0.7903 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3007, allocations: 121.2 kB / 0.7904 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3008, allocations: 142 kB / 0.7906 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.301, allocations: 110.3 kB / 0.7907 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3011, allocations: 342.8 kB / 0.791 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.3014, allocations: 149.2 kB / 0.7912 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.3018, allocations: 260.6 kB / 0.7914 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.3024, allocations: 394.1 kB / 0.7918 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3024, allocations: 4 kB / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008235/0.3032, allocations: 485.5 kB / 0.7922 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3032, allocations: 8 kB / 0.7923 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3033, allocations: 0 / 0.7923 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3033, allocations: 15.92 kB / 0.7923 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.3037, allocations: 95.77 kB / 0.7924 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.3037, allocations: 8 kB / 0.7924 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.304, allocations: 67.56 kB / 0.7924 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.304, allocations: 20 kB / 0.7925 GB, free: 3.535 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.0001798/0.3042, allocations: 164 kB / 0.7926 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.3043, allocations: 27.66 kB / 0.7926 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.848e-05/0.3043, allocations: 29.88 kB / 0.7927 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3044, allocations: 8 kB / 0.7927 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.3044, allocations: 3.984 kB / 0.7927 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3044, allocations: 4 kB / 0.7927 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.3047, allocations: 353.2 kB / 0.793 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3048, allocations: 0 / 0.793 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.3052, allocations: 79.83 kB / 0.7931 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3052, allocations: 4 kB / 0.7931 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.3052, allocations: 8 kB / 0.7931 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.3052, allocations: 4 kB / 0.7931 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3052, allocations: 0 / 0.7931 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3063, allocations: 0.5861 MB / 0.7937 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.3063, allocations: 108.7 kB / 0.7938 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.3064, allocations: 8 kB / 0.7938 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3066, allocations: 35.97 kB / 0.7938 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.3068, allocations: 55.92 kB / 0.7939 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.3069, allocations: 15.98 kB / 0.7939 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001003/0.307, allocations: 129.2 kB / 0.794 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.307, allocations: 0 / 0.794 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003398/0.3073, allocations: 79.91 kB / 0.7941 GB, free: 1.754 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.0002387/0.3076, allocations: 130.1 kB / 0.7942 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007481/0.3083, allocations: 378.7 kB / 0.7946 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3083, allocations: 0 / 0.7946 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.3087, allocations: 210.7 kB / 0.7948 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3091, allocations: 52.09 kB / 0.7948 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3103, allocations: 0.6813 MB / 0.7955 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3107, allocations: 0.7608 MB / 0.7962 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.3109, allocations: 43.14 kB / 0.7963 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.311, allocations: 31.42 kB / 0.7963 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of SimCode: time 3.958e-06/0.311, allocations: 4 kB / 0.7963 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.006905/0.3179, allocations: 3.435 MB / 0.7997 GB, free: 12.01 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)