Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001056/0.001056, 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.001039/0.001039, allocations: 161 kB / 24.16 MB, free: 336 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.996/0.996, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.012/2.012, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.651e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002664/0.002681, allocations: 2.029 MB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.003655, allocations: 0.7289 MB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.003738, allocations: 7.938 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.003782, allocations: 21.2 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.003892, allocations: 41.22 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.004262, allocations: 179.6 kB / 0.7631 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003301/0.007563, allocations: 344.2 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.007674, allocations: 38.86 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.007916, allocations: 207.5 kB / 0.7636 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.008067, allocations: 116.5 kB / 0.7637 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.008107, allocations: 32 kB / 0.7638 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.00818, allocations: 32.69 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.008233, allocations: 81.42 kB / 0.7639 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.008306, allocations: 91.78 kB / 0.764 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.008531, allocations: 239.2 kB / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008533, allocations: 0 / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.008534, allocations: 0 / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.00854, allocations: 0.7812 kB / 0.7642 GB, free: 2.371 MB / 0.7136 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.000715/0.009255, allocations: 0.5461 MB / 0.7647 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.009284, allocations: 12.91 kB / 0.7647 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.009515, allocations: 71.06 kB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.009712, allocations: 169.9 kB / 0.765 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.009922, allocations: 499.7 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.009962, allocations: 24.38 kB / 0.7655 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.01021, allocations: 211.8 kB / 0.7657 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.01022, allocations: 7.422 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.01024, allocations: 20.11 kB / 0.7657 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.01025, allocations: 4 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.01339, allocations: 66.97 kB / 0.7658 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.01398, allocations: 0.4962 MB / 0.7663 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.01421, allocations: 134.8 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.0143, allocations: 62.56 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.01433, allocations: 16.2 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.01459, allocations: 244 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.01459, allocations: 0 / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0003821/0.01497, allocations: 258.3 kB / 0.7669 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.01502, allocations: 115.2 kB / 0.767 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.01513, allocations: 194 kB / 0.7672 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.01517, allocations: 41.7 kB / 0.7673 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.01522, allocations: 113.3 kB / 0.7674 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.01532, allocations: 154.7 kB / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.01544, allocations: 113.3 kB / 0.7676 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.01552, allocations: 346.7 kB / 0.768 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.01561, allocations: 53.3 kB / 0.768 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.01578, allocations: 164.7 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.01604, allocations: 261.9 kB / 0.7684 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01604, allocations: 0 / 0.7684 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003356/0.0194, allocations: 285.8 kB / 0.7687 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01941, allocations: 8 kB / 0.7687 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01942, allocations: 6.75 kB / 0.7687 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01944, allocations: 4 kB / 0.7687 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.0197, allocations: 103.8 kB / 0.7688 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01971, allocations: 4 kB / 0.7688 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01986, allocations: 63.73 kB / 0.7689 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.01989, allocations: 16 kB / 0.7689 GB, free: 13.18 MB / 0.7292 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.0001081/0.02, allocations: 157.9 kB / 0.769 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.02004, allocations: 35.97 kB / 0.7691 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.02008, allocations: 29.97 kB / 0.7691 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.02009, allocations: 5.281 kB / 0.7691 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.02009, allocations: 4 kB / 0.7691 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.0201, allocations: 7.922 kB / 0.7691 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.02029, allocations: 169.7 kB / 0.7693 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02029, allocations: 0.6562 kB / 0.7693 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.02056, allocations: 80.67 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.02056, allocations: 3.938 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.02059, allocations: 12.59 kB / 0.7694 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.02059, allocations: 4 kB / 0.7694 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02059, allocations: 1.125 kB / 0.7694 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.021, allocations: 335 kB / 0.7697 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.02102, allocations: 29.19 kB / 0.7697 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.02105, allocations: 8 kB / 0.7697 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.02117, allocations: 36.56 kB / 0.7698 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.02134, allocations: 63.84 kB / 0.7698 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.02136, allocations: 16.64 kB / 0.7699 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.0214, allocations: 44.81 kB / 0.7699 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.0214, allocations: 1.219 kB / 0.7699 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002563/0.02166, allocations: 79.94 kB / 0.77 GB, free: 12.04 MB / 0.7292 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 8.972e-05/0.02175, allocations: 102.1 kB / 0.7701 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.02205, allocations: 241.3 kB / 0.7703 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.02205, allocations: 4.594 kB / 0.7703 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/0.02521, allocations: 114.5 kB / 0.7704 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.0254, allocations: 56.14 kB / 0.7705 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.02625, allocations: 0.5607 MB / 0.771 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.767e-05/0.02631, allocations: 97.55 kB / 0.7711 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.02643, allocations: 38.97 kB / 0.7711 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.0266, allocations: 111.3 kB / 0.7712 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/0.0266, allocations: 0 / 0.7712 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.009134/0.03573, allocations: 3.958 MB / 0.7751 GB, free: 6.891 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.190743237733841]