Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.626/2.626, allocations: 287.9 MB / 302.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 185.3 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.4 MB / 0.6301 GB, free: 10.36 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 99.91 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004724, allocations: 21.73 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 115.3 MB / 0.9788 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001904/0.1589, allocations: 1.598 MB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1599, allocations: 0.648 MB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.16, allocations: 8 kB / 0.981 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.1601, allocations: 11.86 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1602, allocations: 43.91 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1606, allocations: 123.7 kB / 0.9812 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1608, allocations: 187.6 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.161, allocations: 48.38 kB / 0.9814 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1611, allocations: 103.7 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1613, allocations: 131.5 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.1614, allocations: 19.94 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.1614, allocations: 12 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.1615, allocations: 55.86 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.1616, allocations: 73.45 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1618, allocations: 211.7 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.001e-06/0.1618, allocations: 0 / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.15e-06/0.1618, allocations: 3.938 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.961e-06/0.1618, allocations: 0 / 0.982 GB, free: 24.84 MB / 0.6198 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.001136/0.163, allocations: 0.608 MB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.163, allocations: 12.02 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.1631, allocations: 31.72 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1633, allocations: 203.4 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.1635, allocations: 267.8 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.1635, allocations: 31.91 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.1641, allocations: 265.8 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.1642, allocations: 3.938 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.1642, allocations: 8 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1642, allocations: 4 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.1648, allocations: 187.9 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.166, allocations: 0.7778 MB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.1666, allocations: 216.6 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.1667, allocations: 8.141 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006232/0.1673, allocations: 323.6 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 4.07e-06/0.1673, allocations: 0 / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001388/0.1687, allocations: 0.4888 MB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1688, allocations: 122.7 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.169, allocations: 175.5 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.169, allocations: 41.7 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.1691, allocations: 113.2 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.1693, allocations: 149.9 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1693, allocations: 16 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.1694, allocations: 334.8 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.1698, allocations: 157.2 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.1703, allocations: 256.7 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.1707, allocations: 160 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.587e-06/0.1707, allocations: 0 / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001154/0.1719, allocations: 0.4933 MB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1719, allocations: 8 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.172, allocations: 4 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.172, allocations: 4 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.1725, allocations: 99.81 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.1725, allocations: 15.94 kB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.1729, allocations: 67.66 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.1729, allocations: 23.94 kB / 0.9874 GB, free: 18.86 MB / 0.6198 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.0001929/0.1731, allocations: 172 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.1732, allocations: 27.67 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.1733, allocations: 29.88 kB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.1733, allocations: 8 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.021e-06/0.1734, allocations: 0 / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.162e-06/0.1734, allocations: 3.984 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.1738, allocations: 353.2 kB / 0.988 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-06/0.1738, allocations: 0 / 0.988 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.1743, allocations: 79.89 kB / 0.9881 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.881e-06/0.1743, allocations: 8 kB / 0.9881 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.1744, allocations: 11.95 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.872e-06/0.1744, allocations: 0 / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.691e-06/0.1744, allocations: 4 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.1758, allocations: 0.6208 MB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.1759, allocations: 104.8 kB / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.176, allocations: 12 kB / 0.9888 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.1763, allocations: 43.97 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1764, allocations: 35.94 kB / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.1764, allocations: 20 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001009/0.1766, allocations: 129.1 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.57e-07/0.1766, allocations: 0 / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004546/0.177, allocations: 79.91 kB / 0.9891 GB, free: 17.03 MB / 0.6198 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.0001778/0.1772, allocations: 125.5 kB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009999/0.1782, allocations: 400.3 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.877e-06/0.1783, allocations: 0 / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.1788, allocations: 183.7 kB / 0.9898 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1791, allocations: 45.42 kB / 0.9898 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1804, allocations: 0.698 MB / 0.9905 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.1806, allocations: 0.7725 MB / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.1809, allocations: 39.14 kB / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.181, allocations: 43.36 kB / 0.9914 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of SimCode: time 1.707e-06/0.1811, allocations: 0 / 0.9914 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.007989/0.1891, allocations: 3.023 MB / 0.9943 GB, free: 11.69 MB / 0.6198 GB