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.001008/0.001008, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009616/0.009617, allocations: 169.4 kB / 16.26 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.8/1.8, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.802/1.802, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005694/0.0005698, allocations: 18.41 kB / 0.6743 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2731, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002796/0.2759, allocations: 1.675 MB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2776, allocations: 0.6672 MB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.2779, allocations: 4 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.249e-05/0.278, allocations: 11.86 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.2783, allocations: 35.7 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.2791, allocations: 131.8 kB / 0.7904 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005503/0.2796, allocations: 303.1 kB / 0.7907 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.2799, allocations: 52.36 kB / 0.7907 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.2804, allocations: 111.6 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.2807, allocations: 135.4 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.2807, allocations: 16 kB / 0.791 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.2808, allocations: 16 kB / 0.791 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.2809, allocations: 63.78 kB / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.281, allocations: 141.1 kB / 0.7912 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.2814, allocations: 283.2 kB / 0.7914 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2814, allocations: 0 / 0.7914 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2814, allocations: 0 / 0.7914 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.2814, allocations: 4 kB / 0.7914 GB, free: 7.91 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.001395/0.2828, allocations: 0.6082 MB / 0.792 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2829, allocations: 8.031 kB / 0.792 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.283, allocations: 28.66 kB / 0.7921 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2832, allocations: 204.8 kB / 0.7923 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.2834, allocations: 260.3 kB / 0.7925 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.2835, allocations: 32.38 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.2841, allocations: 269.8 kB / 0.7928 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.2841, allocations: 7.906 kB / 0.7928 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.2842, allocations: 11.94 kB / 0.7928 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2842, allocations: 4 kB / 0.7928 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.2846, allocations: 192.7 kB / 0.793 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2859, allocations: 0.7815 MB / 0.7938 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.2864, allocations: 211.7 kB / 0.794 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.2867, allocations: 134.5 kB / 0.7941 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/0.2868, allocations: 15.98 kB / 0.7941 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.2874, allocations: 315.5 kB / 0.7944 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.2874, allocations: 4 kB / 0.7944 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001088/0.2885, allocations: 0.4932 MB / 0.7949 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.2886, allocations: 118.8 kB / 0.795 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.2888, allocations: 180.6 kB / 0.7952 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.2888, allocations: 37.7 kB / 0.7952 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.2889, allocations: 117.2 kB / 0.7953 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.289, allocations: 150 kB / 0.7955 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.2891, allocations: 57.69 kB / 0.7955 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2893, allocations: 342.8 kB / 0.7959 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.2896, allocations: 157.2 kB / 0.796 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.29, allocations: 256.8 kB / 0.7963 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.2908, allocations: 410 kB / 0.7966 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2908, allocations: 0 / 0.7966 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009982/0.2918, allocations: 0.5087 MB / 0.7971 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.2918, allocations: 8 kB / 0.7971 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2919, allocations: 3.938 kB / 0.7972 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.2919, allocations: 8 kB / 0.7972 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.2923, allocations: 95.83 kB / 0.7973 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.2924, allocations: 8 kB / 0.7973 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.2927, allocations: 71.59 kB / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.2928, allocations: 23.98 kB / 0.7974 GB, free: 1.438 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.0002256/0.293, allocations: 159.9 kB / 0.7975 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.2931, allocations: 27.66 kB / 0.7975 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-05/0.2932, allocations: 37.86 kB / 0.7976 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.2932, allocations: 8 kB / 0.7976 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.2932, allocations: 0 / 0.7976 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2932, allocations: 0 / 0.7976 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.2937, allocations: 357.2 kB / 0.7979 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2937, allocations: 0 / 0.7979 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.2941, allocations: 83.83 kB / 0.798 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.2941, allocations: 0 / 0.798 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.2942, allocations: 15.98 kB / 0.798 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2942, allocations: 4 kB / 0.798 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2942, allocations: 4 kB / 0.798 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2953, allocations: 0.5979 MB / 0.7986 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.2954, allocations: 104.7 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.2955, allocations: 11.94 kB / 0.7987 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2957, allocations: 51.95 kB / 0.7988 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.2959, allocations: 47.94 kB / 0.7988 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.2959, allocations: 20.17 kB / 0.7988 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001061/0.296, allocations: 125.2 kB / 0.7989 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.21e-07/0.296, allocations: 3.938 kB / 0.7989 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003609/0.2964, allocations: 83.89 kB / 0.799 GB, free: 15.62 MB / 0.6231 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.0001986/0.2966, allocations: 123.2 kB / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007841/0.2974, allocations: 399.8 kB / 0.7995 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2974, allocations: 0 / 0.7995 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.2978, allocations: 199.8 kB / 0.7997 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2982, allocations: 52.12 kB / 0.7998 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.2995, allocations: 0.7314 MB / 0.8005 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.2999, allocations: 0.7647 MB / 0.8012 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.3001, allocations: 38.97 kB / 0.8013 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3002, allocations: 31.42 kB / 0.8013 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.3002, allocations: 0 / 0.8013 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.00818/0.3084, allocations: 3.401 MB / 0.8046 GB, free: 9.848 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: