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.0009833/0.0009833, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001669/0.001669, allocations: 165 kB / 24.25 MB, free: 212 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 0.9736/0.9736, allocations: 177.1 MB / 204.7 MB, free: 5.422 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.986/1.986, allocations: 389.6 MB / 0.6355 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_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 2.265e-06/2.265e-06, allocations: 0 / 0.7754 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.577e-05, allocations: 3.062 kB / 0.7754 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002664/0.00269, allocations: 2.011 MB / 0.7774 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.003928, allocations: 0.7338 MB / 0.7781 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.004017, allocations: 0 / 0.7781 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.004068, allocations: 28.42 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.004173, allocations: 42.83 kB / 0.7782 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.004582, allocations: 183.5 kB / 0.7784 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.004894, allocations: 335 kB / 0.7787 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.005059, allocations: 50.8 kB / 0.7787 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.005373, allocations: 194.4 kB / 0.7789 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.005545, allocations: 123.5 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.00559, allocations: 28 kB / 0.7791 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.005695, allocations: 36 kB / 0.7791 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.005759, allocations: 75.77 kB / 0.7792 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.005843, allocations: 103.7 kB / 0.7793 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.006127, allocations: 239.2 kB / 0.7795 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006131, allocations: 2.219 kB / 0.7795 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006133, allocations: 0 / 0.7795 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.006137, allocations: 0 / 0.7795 GB, free: 1.09 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.0007026/0.00684, allocations: 0.5495 MB / 0.78 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.006882, allocations: 9.938 kB / 0.78 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.00709, allocations: 69.59 kB / 0.7801 GB, free: 456 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.007295, allocations: 166.9 kB / 0.7803 GB, free: 264 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.007522, allocations: 0.4933 MB / 0.7807 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.007566, allocations: 32.33 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.007807, allocations: 211.7 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.007822, allocations: 4.188 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.007836, allocations: 8.781 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.007844, allocations: 4.562 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.007949, allocations: 78.69 kB / 0.7811 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.008555, allocations: 0.498 MB / 0.7816 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.008831, allocations: 136.5 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.008902, allocations: 63.09 kB / 0.7817 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.008943, allocations: 11.98 kB / 0.7818 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.009214, allocations: 245.3 kB / 0.782 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.009216, allocations: 0 / 0.782 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0003463/0.009563, allocations: 250.5 kB / 0.7822 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.009621, allocations: 119.1 kB / 0.7823 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.009728, allocations: 191.4 kB / 0.7825 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.009755, allocations: 42.31 kB / 0.7826 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.009804, allocations: 114 kB / 0.7827 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.009893, allocations: 162.7 kB / 0.7828 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.837e-05/0.009991, allocations: 108 kB / 0.7829 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01009, allocations: 342.8 kB / 0.7833 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.01016, allocations: 53.28 kB / 0.7833 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.01028, allocations: 168.8 kB / 0.7835 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.01049, allocations: 261.9 kB / 0.7837 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01049, allocations: 0.5938 kB / 0.7837 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002658/0.01076, allocations: 286.4 kB / 0.784 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01077, allocations: 10.19 kB / 0.784 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01078, allocations: 0 / 0.784 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01079, allocations: 8.531 kB / 0.784 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.011, allocations: 101 kB / 0.7841 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01101, allocations: 7.938 kB / 0.7841 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.01112, allocations: 64.5 kB / 0.7842 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01114, allocations: 12.72 kB / 0.7842 GB, free: 11.9 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.0001053/0.01124, allocations: 156.6 kB / 0.7843 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.01128, allocations: 33.06 kB / 0.7844 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.01133, allocations: 33.97 kB / 0.7844 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01134, allocations: 4 kB / 0.7844 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01134, allocations: 1.781 kB / 0.7844 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.01135, allocations: 11.92 kB / 0.7844 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.01152, allocations: 165.6 kB / 0.7846 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.01153, allocations: 3.984 kB / 0.7846 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.01174, allocations: 71.91 kB / 0.7847 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.01174, allocations: 5.094 kB / 0.7847 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.01176, allocations: 11.98 kB / 0.7847 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01176, allocations: 0 / 0.7847 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01176, allocations: 5.031 kB / 0.7847 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.01231, allocations: 334.9 kB / 0.785 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.01234, allocations: 33.31 kB / 0.785 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.01236, allocations: 11.98 kB / 0.785 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.01246, allocations: 33.31 kB / 0.7851 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.01255, allocations: 63.91 kB / 0.7851 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01256, allocations: 15.98 kB / 0.7851 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.0126, allocations: 43.41 kB / 0.7852 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.0126, allocations: 0 / 0.7852 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001836/0.01278, allocations: 83.94 kB / 0.7853 GB, free: 10.76 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.0001357/0.01292, allocations: 108.1 kB / 0.7854 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.01318, allocations: 240.5 kB / 0.7856 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01318, allocations: 0 / 0.7856 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.0133, allocations: 119.5 kB / 0.7857 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.01349, allocations: 47.53 kB / 0.7858 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.0143, allocations: 0.5492 MB / 0.7863 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.01436, allocations: 105.4 kB / 0.7864 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.89e-05/0.01446, allocations: 44.14 kB / 0.7864 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.0146, allocations: 107.4 kB / 0.7865 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.0146, allocations: 3.938 kB / 0.7865 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.005566/0.02017, allocations: 3.964 MB / 0.7904 GB, free: 5.605 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.2281145341694355]