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.0009423/0.0009423, allocations: 80.75 kB / 20.83 MB, free: 3.629 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.00101/0.00101, allocations: 169 kB / 24.25 MB, free: 208 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.9833/0.9833, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.925/1.925, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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.786e-06/2.786e-06, allocations: 0 / 0.7754 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.719e-05, allocations: 4.812 kB / 0.7754 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001546/0.001564, allocations: 1.108 MB / 0.7765 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.002908, allocations: 1.161 MB / 0.7777 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.002983, allocations: 6.969 kB / 0.7777 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.975e-05/0.003033, allocations: 23.67 kB / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003145, allocations: 38.66 kB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.003536, allocations: 159.6 kB / 0.7779 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.003811, allocations: 331 kB / 0.7782 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.003936, allocations: 50.41 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.004197, allocations: 199.5 kB / 0.7784 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.00433, allocations: 111.7 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.004368, allocations: 32 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.004441, allocations: 35.94 kB / 0.7786 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.004489, allocations: 79.77 kB / 0.7787 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.004555, allocations: 95.77 kB / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.004793, allocations: 239.2 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004796, allocations: 0 / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004796, allocations: 1.719 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.004802, allocations: 0 / 0.779 GB, free: 1.559 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.0006763/0.005478, allocations: 0.5362 MB / 0.7795 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.005513, allocations: 9.344 kB / 0.7795 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.005681, allocations: 72.86 kB / 0.7796 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.005786, allocations: 146.3 kB / 0.7797 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.006012, allocations: 495.7 kB / 0.7802 GB, free: 164 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.006057, allocations: 36.31 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.006297, allocations: 206.6 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.006311, allocations: 4.188 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.006328, allocations: 8.359 kB / 0.7805 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.006339, allocations: 8.125 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.006439, allocations: 74.69 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.007031, allocations: 0.5015 MB / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.007266, allocations: 128.1 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.007338, allocations: 66.55 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.007377, allocations: 16.92 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.007627, allocations: 240.9 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.773e-06/0.007628, allocations: 0 / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0003242/0.007953, allocations: 253.7 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.008025, allocations: 112.2 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.008134, allocations: 181.7 kB / 0.782 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.008162, allocations: 41.69 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.008212, allocations: 109.3 kB / 0.7821 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.008305, allocations: 155.4 kB / 0.7823 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.008398, allocations: 111 kB / 0.7824 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.008497, allocations: 346.7 kB / 0.7827 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.008562, allocations: 54.41 kB / 0.7828 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.008682, allocations: 168.7 kB / 0.7829 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.008896, allocations: 265.9 kB / 0.7832 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.008899, allocations: 0.5625 kB / 0.7832 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000279/0.009178, allocations: 289.3 kB / 0.7834 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.009193, allocations: 12.86 kB / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.009199, allocations: 0 / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.009211, allocations: 8.781 kB / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.009412, allocations: 99.83 kB / 0.7836 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.009418, allocations: 4.656 kB / 0.7836 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.009535, allocations: 57.56 kB / 0.7836 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.009554, allocations: 19.94 kB / 0.7836 GB, free: 12.42 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.000103/0.009657, allocations: 148.7 kB / 0.7838 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.009694, allocations: 31.97 kB / 0.7838 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.009737, allocations: 34.45 kB / 0.7838 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.009742, allocations: 9.062 kB / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.009748, allocations: 0 / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.009752, allocations: 0 / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.009916, allocations: 174.5 kB / 0.784 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009918, allocations: 0 / 0.784 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.01011, allocations: 80.83 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01011, allocations: 3.938 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.01013, allocations: 11.98 kB / 0.7841 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.01013, allocations: 4.938 kB / 0.7841 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01014, allocations: 0 / 0.7841 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.01047, allocations: 328 kB / 0.7844 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.0105, allocations: 27.75 kB / 0.7845 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.01052, allocations: 12.84 kB / 0.7845 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.01061, allocations: 37.77 kB / 0.7845 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.0107, allocations: 71.89 kB / 0.7846 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01072, allocations: 11.94 kB / 0.7846 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.01076, allocations: 45.88 kB / 0.7846 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01076, allocations: 0.5 kB / 0.7846 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002083/0.01097, allocations: 83.98 kB / 0.7847 GB, free: 11.28 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.83e-05/0.01107, allocations: 96.73 kB / 0.7848 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.01134, allocations: 246.1 kB / 0.785 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.01134, allocations: 4 kB / 0.785 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.01146, allocations: 113.7 kB / 0.7852 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.01164, allocations: 51.31 kB / 0.7852 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/0.01241, allocations: 0.5608 MB / 0.7857 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.354e-05/0.01246, allocations: 102.7 kB / 0.7858 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.159e-05/0.01255, allocations: 35.47 kB / 0.7859 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.01268, allocations: 111.4 kB / 0.786 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01268, allocations: 0 / 0.786 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.005307/0.01799, allocations: 3.945 MB / 0.7898 GB, free: 6.16 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.070121091790497]