Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001042/0.001042, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001127/0.001127, allocations: 174 kB / 25.05 MB, free: 9.152 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.9416/0.9416, allocations: 177.1 MB / 205.5 MB, free: 5.434 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.981/1.981, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7762 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.559e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002161/0.002176, allocations: 2.01 MB / 0.7782 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.003016, allocations: 0.7331 MB / 0.7789 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.003087, allocations: 6.438 kB / 0.7789 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.003134, allocations: 19.69 kB / 0.7789 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.003233, allocations: 50.67 kB / 0.779 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.003585, allocations: 181.3 kB / 0.7791 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.00382, allocations: 339 kB / 0.7795 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003922, allocations: 42.81 kB / 0.7795 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.004114, allocations: 196.5 kB / 0.7797 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.00424, allocations: 119.6 kB / 0.7798 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.004278, allocations: 32.5 kB / 0.7798 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.004344, allocations: 36.75 kB / 0.7799 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.004388, allocations: 75.77 kB / 0.78 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.004448, allocations: 102.2 kB / 0.78 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.004646, allocations: 243.1 kB / 0.7803 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004647, allocations: 0 / 0.7803 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004648, allocations: 0 / 0.7803 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.004651, allocations: 0 / 0.7803 GB, free: 1.113 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.0006526/0.005304, allocations: 0.5416 MB / 0.7808 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.005337, allocations: 15.94 kB / 0.7808 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.005523, allocations: 72.86 kB / 0.7809 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.005711, allocations: 158.4 kB / 0.781 GB, free: 296 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.005988, allocations: 499.7 kB / 0.7815 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.006025, allocations: 34.06 kB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.006236, allocations: 211.8 kB / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.006248, allocations: 192 / 0.7818 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.006264, allocations: 16.11 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006271, allocations: 5.125 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.006371, allocations: 74.73 kB / 0.7818 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.006849, allocations: 0.5056 MB / 0.7823 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.007025, allocations: 127.6 kB / 0.7825 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.007087, allocations: 67.19 kB / 0.7825 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.007114, allocations: 16 kB / 0.7825 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.007322, allocations: 236.8 kB / 0.7828 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.442e-06/0.007323, allocations: 4.625 kB / 0.7828 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.000291/0.007614, allocations: 250.7 kB / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.007666, allocations: 115.1 kB / 0.7831 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.007757, allocations: 191.4 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.00778, allocations: 39.14 kB / 0.7833 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.007821, allocations: 117.2 kB / 0.7835 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.0079, allocations: 158.7 kB / 0.7836 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.007992, allocations: 106.3 kB / 0.7837 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.008082, allocations: 347.4 kB / 0.784 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.008156, allocations: 54.92 kB / 0.7841 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.008271, allocations: 168.8 kB / 0.7843 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.008484, allocations: 265.9 kB / 0.7845 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.008487, allocations: 0 / 0.7845 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002738/0.008761, allocations: 285.9 kB / 0.7848 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.008773, allocations: 4.875 kB / 0.7848 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.00878, allocations: 4 kB / 0.7848 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.008793, allocations: 5 kB / 0.7848 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.009016, allocations: 99.83 kB / 0.7849 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.009024, allocations: 16.81 kB / 0.7849 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.009151, allocations: 60.22 kB / 0.785 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.009173, allocations: 19.98 kB / 0.785 GB, free: 11.93 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.0001065/0.00928, allocations: 149.1 kB / 0.7851 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.009316, allocations: 33.34 kB / 0.7852 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.009359, allocations: 29.97 kB / 0.7852 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.009366, allocations: 8 kB / 0.7852 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.009369, allocations: 3.984 kB / 0.7852 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.009375, allocations: 5.375 kB / 0.7852 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.009531, allocations: 169.7 kB / 0.7854 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.009534, allocations: 0 / 0.7854 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.009735, allocations: 79.89 kB / 0.7854 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009737, allocations: 0.6562 kB / 0.7854 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.009755, allocations: 9.094 kB / 0.7854 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.009758, allocations: 4.062 kB / 0.7854 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.00976, allocations: 4 kB / 0.7855 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.01009, allocations: 336 kB / 0.7858 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.01011, allocations: 31.75 kB / 0.7858 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.01013, allocations: 9.312 kB / 0.7858 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.01022, allocations: 27.97 kB / 0.7858 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.0103, allocations: 69.25 kB / 0.7859 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.01032, allocations: 11.98 kB / 0.7859 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.01035, allocations: 45.98 kB / 0.786 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 1.406 kB / 0.786 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001689/0.01052, allocations: 83.94 kB / 0.786 GB, free: 10.79 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 9.237e-05/0.01061, allocations: 105.6 kB / 0.7861 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.01086, allocations: 234.1 kB / 0.7864 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.01086, allocations: 4.875 kB / 0.7864 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.01098, allocations: 118.5 kB / 0.7865 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.01116, allocations: 47.61 kB / 0.7865 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.01192, allocations: 0.5616 MB / 0.7871 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.717e-05/0.01197, allocations: 109.3 kB / 0.7872 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.01208, allocations: 38.39 kB / 0.7872 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01222, allocations: 116.3 kB / 0.7873 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.01222, allocations: 0 / 0.7873 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.005776/0.01799, allocations: 3.959 MB / 0.7912 GB, free: 5.625 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.020194165408611]