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.001087/0.001087, allocations: 107.8 kB / 16.36 MB, free: 5.961 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.001145/0.001145, allocations: 193.8 kB / 17.3 MB, free: 5.574 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.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.828/1.828, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.00139/0.00139, allocations: 67.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2201, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003101/0.2232, allocations: 1.96 MB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2243, allocations: 0.6865 MB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.2244, allocations: 8 kB / 0.7874 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.2244, allocations: 19.69 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2245, allocations: 43.56 kB / 0.7875 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.2249, allocations: 151.7 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4464/0.6714, allocations: 321.3 kB / 0.7879 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.6718, allocations: 49.11 kB / 0.788 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.6722, allocations: 125.8 kB / 0.7881 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.6725, allocations: 155.1 kB / 0.7882 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.6726, allocations: 27.41 kB / 0.7883 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.272e-05/0.6726, allocations: 30.22 kB / 0.7883 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.6727, allocations: 80.84 kB / 0.7884 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.6729, allocations: 132.8 kB / 0.7885 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.6732, allocations: 306.2 kB / 0.7888 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6732, allocations: 0 / 0.7888 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.045e-06/0.6732, allocations: 0 / 0.7888 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.6733, allocations: 0 / 0.7888 GB, free: 46.41 MB / 0.6544 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.001159/0.6744, allocations: 0.627 MB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6745, allocations: 10.41 kB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.6745, allocations: 31.66 kB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6747, allocations: 203.8 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.6748, allocations: 266.6 kB / 0.7899 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.6749, allocations: 32.81 kB / 0.7899 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.6753, allocations: 261.7 kB / 0.7902 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.6754, allocations: 10.33 kB / 0.7902 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.6754, allocations: 7.531 kB / 0.7902 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.6754, allocations: 4.344 kB / 0.7902 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.6758, allocations: 172.7 kB / 0.7903 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.6768, allocations: 0.7846 MB / 0.7911 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.6772, allocations: 206.4 kB / 0.7913 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.6775, allocations: 127.3 kB / 0.7914 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.6775, allocations: 14.66 kB / 0.7914 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005523/0.6781, allocations: 311.8 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.6781, allocations: 1.281 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0009614/0.6791, allocations: 487.3 kB / 0.7922 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.6791, allocations: 110 kB / 0.7923 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.6793, allocations: 177.6 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.6793, allocations: 43.05 kB / 0.7925 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.6794, allocations: 122.9 kB / 0.7926 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/0.6795, allocations: 146.4 kB / 0.7928 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.6796, allocations: 107.5 kB / 0.7929 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.6797, allocations: 340.1 kB / 0.7932 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.68, allocations: 152.3 kB / 0.7934 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.6803, allocations: 256.6 kB / 0.7936 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.6809, allocations: 393.8 kB / 0.794 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6809, allocations: 6.188 kB / 0.794 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007475/0.6816, allocations: 486 kB / 0.7944 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.6816, allocations: 9.969 kB / 0.7944 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6817, allocations: 5.891 kB / 0.7945 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.6817, allocations: 7.875 kB / 0.7945 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.6821, allocations: 103.1 kB / 0.7946 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6821, allocations: 3.719 kB / 0.7946 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.6824, allocations: 57.45 kB / 0.7946 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.6824, allocations: 20.22 kB / 0.7946 GB, free: 43.71 MB / 0.6544 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.0001714/0.6826, allocations: 161.9 kB / 0.7948 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.6826, allocations: 32.2 kB / 0.7948 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.6827, allocations: 27.56 kB / 0.7948 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6827, allocations: 10.16 kB / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.6827, allocations: 2.484 kB / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.6828, allocations: 3.469 kB / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.6831, allocations: 356.7 kB / 0.7952 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6831, allocations: 0 / 0.7952 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.6835, allocations: 76.72 kB / 0.7953 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.6835, allocations: 7.406 kB / 0.7953 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.6835, allocations: 14.12 kB / 0.7953 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6835, allocations: 7.969 kB / 0.7953 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6835, allocations: 0 / 0.7953 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.6845, allocations: 0.5812 MB / 0.7959 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.6846, allocations: 113.6 kB / 0.796 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.6846, allocations: 11.31 kB / 0.796 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.6848, allocations: 32.36 kB / 0.796 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.685, allocations: 55.06 kB / 0.7961 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.685, allocations: 17.08 kB / 0.7961 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.6851, allocations: 132.4 kB / 0.7962 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6851, allocations: 0 / 0.7962 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003311/0.6854, allocations: 79.31 kB / 0.7963 GB, free: 43.06 MB / 0.6544 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.6856, allocations: 117.7 kB / 0.7964 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006891/0.6863, allocations: 379.9 kB / 0.7968 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6863, allocations: 4 kB / 0.7968 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.6867, allocations: 200.9 kB / 0.797 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.687, allocations: 40 kB / 0.797 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.6881, allocations: 0.6044 MB / 0.7976 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.6884, allocations: 0.7674 MB / 0.7983 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.6885, allocations: 40.14 kB / 0.7984 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.6886, allocations: 34.94 kB / 0.7984 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.6886, allocations: 0 / 0.7984 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.009465/0.6981, allocations: 3.912 MB / 0.8022 GB, free: 41.8 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)