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.001036/0.001036, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001085/0.001085, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.643/1.643, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005375/0.0005375, allocations: 21 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2096, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001797/0.2114, allocations: 1.606 MB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000827/0.2122, allocations: 0.6559 MB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.2123, allocations: 0 / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.2123, allocations: 11.86 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.2124, allocations: 43.84 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2128, allocations: 131.7 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.213, allocations: 191.6 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2131, allocations: 36.38 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2132, allocations: 107.7 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2134, allocations: 135.5 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.2134, allocations: 16 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.499e-05/0.2135, allocations: 19.94 kB / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.2135, allocations: 59.8 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.2136, allocations: 65.58 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.2138, allocations: 207.7 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2138, allocations: 0 / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2138, allocations: 0 / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2138, allocations: 0 / 0.7903 GB, free: 8.672 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.001063/0.2149, allocations: 0.6119 MB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2149, allocations: 12.03 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.215, allocations: 27.72 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2151, allocations: 199.5 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.2154, allocations: 259.8 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.2154, allocations: 31.91 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.2159, allocations: 265.7 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2159, allocations: 4 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.216, allocations: 8 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.216, allocations: 4 kB / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.2164, allocations: 188.5 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.2174, allocations: 0.7894 MB / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.2178, allocations: 216.5 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.2179, allocations: 8.188 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004892/0.2184, allocations: 315.6 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.2184, allocations: 0 / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009541/0.2193, allocations: 492.8 kB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.2194, allocations: 126.7 kB / 0.7938 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2196, allocations: 176.6 kB / 0.7939 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.2196, allocations: 37.7 kB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.2197, allocations: 121.2 kB / 0.7941 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2198, allocations: 146 kB / 0.7942 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.2199, allocations: 12 kB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.22, allocations: 342.8 kB / 0.7946 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.2203, allocations: 153.2 kB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.2206, allocations: 252.8 kB / 0.7949 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.221, allocations: 175.8 kB / 0.7951 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.221, allocations: 4 kB / 0.7951 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007765/0.2218, allocations: 492.9 kB / 0.7956 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2218, allocations: 11.95 kB / 0.7956 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2218, allocations: 8.062 kB / 0.7956 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2218, allocations: 4 kB / 0.7956 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.2222, allocations: 107.8 kB / 0.7957 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2222, allocations: 4 kB / 0.7957 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.2225, allocations: 67.75 kB / 0.7958 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.2225, allocations: 20 kB / 0.7958 GB, free: 2.703 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.2227, allocations: 163.9 kB / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.2227, allocations: 31.7 kB / 0.796 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.894e-05/0.2228, allocations: 33.83 kB / 0.796 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2228, allocations: 4 kB / 0.796 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.2228, allocations: 4 kB / 0.796 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2228, allocations: 7.984 kB / 0.796 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.2232, allocations: 357.2 kB / 0.7964 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2232, allocations: 0 / 0.7964 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.2236, allocations: 67.91 kB / 0.7964 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2236, allocations: 7.938 kB / 0.7964 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.2237, allocations: 15.98 kB / 0.7965 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2237, allocations: 7.953 kB / 0.7965 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2237, allocations: 0.7031 kB / 0.7965 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2247, allocations: 0.6139 MB / 0.7971 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.2248, allocations: 104.7 kB / 0.7972 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.2248, allocations: 15.98 kB / 0.7972 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.2251, allocations: 43.97 kB / 0.7972 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2252, allocations: 43.97 kB / 0.7973 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.2252, allocations: 16 kB / 0.7973 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001099/0.2253, allocations: 129.1 kB / 0.7974 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2253, allocations: 0 / 0.7974 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003138/0.2256, allocations: 79.91 kB / 0.7975 GB, free: 0.8672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001827/0.2258, allocations: 119.2 kB / 0.7976 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007126/0.2266, allocations: 395.5 kB / 0.798 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2266, allocations: 7.938 kB / 0.798 GB, free: 356 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.2269, allocations: 184 kB / 0.7982 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.2272, allocations: 43.02 kB / 0.7982 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2282, allocations: 0.7097 MB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2285, allocations: 0.7764 MB / 0.7996 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.2287, allocations: 43.14 kB / 0.7997 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.2288, allocations: 31.42 kB / 0.7997 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2288, allocations: 0 / 0.7997 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.005825/0.2346, allocations: 3.017 MB / 0.8027 GB, free: 11.52 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: