Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 165.5 kB / 24.96 MB, free: 8.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9654/0.9654, allocations: 177.1 MB / 205.4 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.879/1.879, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0.6562 kB / 0.776 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.122e-05, allocations: 2.312 kB / 0.776 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002102/0.002133, allocations: 1.111 MB / 0.7771 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.003592, allocations: 1.167 MB / 0.7783 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.00367, allocations: 4 kB / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.003715, allocations: 19.69 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.003828, allocations: 47.11 kB / 0.7783 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.004233, allocations: 145.5 kB / 0.7785 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.004707, allocations: 339 kB / 0.7788 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.00484, allocations: 46.41 kB / 0.7788 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.005116, allocations: 200.3 kB / 0.779 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.005258, allocations: 112.3 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.005294, allocations: 32 kB / 0.7792 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.005365, allocations: 39.31 kB / 0.7792 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.005408, allocations: 75.77 kB / 0.7793 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.005472, allocations: 95.78 kB / 0.7794 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.005689, allocations: 239.2 kB / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005691, allocations: 0 / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005692, allocations: 0 / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.005697, allocations: 0 / 0.7796 GB, free: 1.691 MB / 0.7292 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.0006426/0.006339, allocations: 0.5345 MB / 0.7801 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.006372, allocations: 9.344 kB / 0.7801 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.006556, allocations: 73.97 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.842e-05/0.006655, allocations: 146.3 kB / 0.7803 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.006839, allocations: 496.8 kB / 0.7808 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.006878, allocations: 32.33 kB / 0.7808 GB, free: 268 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.007095, allocations: 216.2 kB / 0.781 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.007109, allocations: 4.188 kB / 0.7811 GB, free: 32 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.007126, allocations: 4.906 kB / 0.7811 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.007134, allocations: 8.656 kB / 0.7811 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.007242, allocations: 70.73 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.007759, allocations: 0.5061 MB / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.007942, allocations: 125.2 kB / 0.7817 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.008005, allocations: 70.55 kB / 0.7818 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.008036, allocations: 15.92 kB / 0.7818 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.008245, allocations: 236.8 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.573e-06/0.008246, allocations: 0 / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0002984/0.008545, allocations: 263.3 kB / 0.7823 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.00859, allocations: 110.8 kB / 0.7824 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.008676, allocations: 181.7 kB / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.008699, allocations: 37.7 kB / 0.7826 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.008737, allocations: 114.1 kB / 0.7827 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.008813, allocations: 154.7 kB / 0.7829 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.008901, allocations: 114.2 kB / 0.783 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.00898, allocations: 347.5 kB / 0.7833 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.009044, allocations: 57.28 kB / 0.7834 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.009157, allocations: 161.3 kB / 0.7835 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.009364, allocations: 270.7 kB / 0.7838 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.009366, allocations: 0 / 0.7838 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002653/0.009632, allocations: 286.9 kB / 0.7841 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.009645, allocations: 8 kB / 0.7841 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009651, allocations: 80 / 0.7841 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.009666, allocations: 9.469 kB / 0.7841 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.009868, allocations: 99.83 kB / 0.7842 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.009876, allocations: 11.97 kB / 0.7842 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.009991, allocations: 48.3 kB / 0.7842 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.01001, allocations: 24.55 kB / 0.7843 GB, free: 12.55 MB / 0.7448 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.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 9.958e-05/0.01011, allocations: 153.4 kB / 0.7844 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.01015, allocations: 31.97 kB / 0.7844 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.01019, allocations: 29.97 kB / 0.7845 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.0102, allocations: 9.031 kB / 0.7845 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.0102, allocations: 3.984 kB / 0.7845 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.0102, allocations: 0 / 0.7845 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.01036, allocations: 174.7 kB / 0.7846 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01036, allocations: 0 / 0.7846 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.01056, allocations: 80.73 kB / 0.7847 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01056, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.01058, allocations: 12 kB / 0.7847 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01058, allocations: 4.719 kB / 0.7847 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01058, allocations: 0 / 0.7847 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.01091, allocations: 335.6 kB / 0.785 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.01094, allocations: 32.45 kB / 0.7851 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01096, allocations: 15.94 kB / 0.7851 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.01106, allocations: 29.09 kB / 0.7851 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.01115, allocations: 65.34 kB / 0.7852 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.01116, allocations: 16.05 kB / 0.7852 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.0112, allocations: 49.88 kB / 0.7852 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.0112, allocations: 0 / 0.7852 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000176/0.01137, allocations: 73.53 kB / 0.7853 GB, free: 11.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.0001156/0.01149, allocations: 101.8 kB / 0.7854 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.01188, allocations: 238.2 kB / 0.7856 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01189, allocations: 4 kB / 0.7856 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01201, allocations: 115.3 kB / 0.7858 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01218, allocations: 49.72 kB / 0.7858 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.01295, allocations: 0.5591 MB / 0.7863 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.013, allocations: 97.61 kB / 0.7864 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.755e-05/0.0131, allocations: 41.78 kB / 0.7865 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.01324, allocations: 107.4 kB / 0.7866 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01324, allocations: 0.5938 kB / 0.7866 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.005451/0.01869, allocations: 3.938 MB / 0.7904 GB, free: 6.293 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01150606572628]