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.0009537/0.0009537, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009762/0.0009762, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 1.029/1.029, allocations: 177.2 MB / 204.6 MB, free: 5.469 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 2.055/2.055, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.974e-06/1.974e-06, allocations: 0.875 kB / 0.7753 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.507e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001855/0.00188, allocations: 1.102 MB / 0.7764 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003247, allocations: 1.164 MB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.003328, allocations: 5.688 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.003369, allocations: 15.75 kB / 0.7775 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.003481, allocations: 46.2 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.00391, allocations: 159.7 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.004207, allocations: 344 kB / 0.778 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.004335, allocations: 38.42 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.004628, allocations: 196.2 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.004776, allocations: 124.3 kB / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.004814, allocations: 28 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.706e-05/0.004891, allocations: 32.94 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.004943, allocations: 79.77 kB / 0.7785 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.005015, allocations: 104.6 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.005248, allocations: 227.2 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005252, allocations: 0 / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.383e-06/0.005253, allocations: 1.438 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.005258, allocations: 0 / 0.7788 GB, free: 1.629 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.0007031/0.005961, allocations: 0.5419 MB / 0.7794 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.005997, allocations: 10.25 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.006204, allocations: 69.44 kB / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.006313, allocations: 138.4 kB / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.006532, allocations: 0.4928 MB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.006581, allocations: 36.31 kB / 0.7801 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.006835, allocations: 208.5 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.00685, allocations: 4.188 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.006868, allocations: 9.25 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006876, allocations: 12.12 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.006985, allocations: 67.5 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.0076, allocations: 0.4987 MB / 0.7809 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.007816, allocations: 135.5 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.007883, allocations: 62.56 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.007913, allocations: 8.219 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.008146, allocations: 248.8 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/0.008149, allocations: 0.6562 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0003456/0.008495, allocations: 250.4 kB / 0.7815 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.008559, allocations: 123.8 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.008673, allocations: 173.7 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.008704, allocations: 42.52 kB / 0.7819 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.008757, allocations: 113.3 kB / 0.782 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/0.00885, allocations: 154.7 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.008951, allocations: 110.8 kB / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.00905, allocations: 351.6 kB / 0.7826 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.009126, allocations: 49.3 kB / 0.7826 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.009257, allocations: 168.7 kB / 0.7828 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.009482, allocations: 262.8 kB / 0.783 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.009485, allocations: 0 / 0.783 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002818/0.009767, allocations: 286.4 kB / 0.7833 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.009784, allocations: 8 kB / 0.7833 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.00979, allocations: 0 / 0.7833 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.009807, allocations: 13.69 kB / 0.7833 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.01003, allocations: 103.8 kB / 0.7834 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.01004, allocations: 4 kB / 0.7834 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.01016, allocations: 56.84 kB / 0.7835 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.01018, allocations: 16.03 kB / 0.7835 GB, free: 12.49 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 0.000115/0.01029, allocations: 157.2 kB / 0.7836 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.01033, allocations: 35.97 kB / 0.7837 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.01038, allocations: 34.91 kB / 0.7837 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01038, allocations: 4 kB / 0.7837 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01039, allocations: 0 / 0.7837 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01039, allocations: 4.922 kB / 0.7837 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.01056, allocations: 165.6 kB / 0.7839 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01057, allocations: 4.719 kB / 0.7839 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.01078, allocations: 75.84 kB / 0.7839 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.01078, allocations: 4.938 kB / 0.784 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.0108, allocations: 11.98 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.0108, allocations: 4.938 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01081, allocations: 3.938 kB / 0.784 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.01118, allocations: 332.8 kB / 0.7843 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.0112, allocations: 31.73 kB / 0.7843 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.01123, allocations: 8 kB / 0.7843 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.01133, allocations: 34.72 kB / 0.7844 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.01142, allocations: 67.84 kB / 0.7844 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01144, allocations: 11.98 kB / 0.7844 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.01148, allocations: 45.88 kB / 0.7845 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01148, allocations: 0 / 0.7845 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001976/0.01167, allocations: 80 kB / 0.7846 GB, free: 11.35 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.0001369/0.01181, allocations: 101.5 kB / 0.7847 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.0121, allocations: 247.7 kB / 0.7849 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.0121, allocations: 0.9375 kB / 0.7849 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.01224, allocations: 121.5 kB / 0.785 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.01245, allocations: 46.59 kB / 0.785 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.01342, allocations: 0.5614 MB / 0.7856 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.01348, allocations: 93.61 kB / 0.7857 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.01358, allocations: 40.44 kB / 0.7857 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.01374, allocations: 107.3 kB / 0.7858 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.01374, allocations: 0 / 0.7858 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.006165/0.0199, allocations: 3.947 MB / 0.7897 GB, free: 6.219 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1562824016436934]