Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001089/0.001089, 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.0009986/0.0009986, allocations: 161.4 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.9478/0.9478, allocations: 177.1 MB / 204.6 MB, free: 5.473 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 1.806/1.806, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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,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") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.515e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001618/0.001633, allocations: 1.065 MB / 0.7611 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002704, allocations: 1.17 MB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.002765, allocations: 0 / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.002802, allocations: 20.33 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.817e-05/0.0029, allocations: 51.23 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.003244, allocations: 153 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.003479, allocations: 335 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.003578, allocations: 42.47 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.003786, allocations: 192.5 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.00391, allocations: 120.9 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.003944, allocations: 32 kB / 0.7632 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.295e-05/0.003997, allocations: 35.98 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.00404, allocations: 72.56 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.004101, allocations: 99.77 kB / 0.7634 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.004295, allocations: 239.2 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004297, allocations: 1.25 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004298, allocations: 0 / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.004302, allocations: 0 / 0.7636 GB, free: 2.977 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.0006115/0.004913, allocations: 0.5312 MB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.004942, allocations: 12.02 kB / 0.7641 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.005111, allocations: 70.47 kB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.804e-05/0.005199, allocations: 142.3 kB / 0.7643 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.005392, allocations: 499.7 kB / 0.7648 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.00543, allocations: 37.53 kB / 0.7649 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.00565, allocations: 211.7 kB / 0.7651 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.005661, allocations: 1.688 kB / 0.7651 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.005681, allocations: 8.375 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.00569, allocations: 8.125 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.005787, allocations: 66.97 kB / 0.7651 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.006291, allocations: 0.5092 MB / 0.7656 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.006478, allocations: 124.3 kB / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.006545, allocations: 67.38 kB / 0.7658 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.00657, allocations: 8 kB / 0.7658 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.006768, allocations: 249.4 kB / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.412e-06/0.00677, allocations: 0 / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0002983/0.007068, allocations: 254.5 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.007116, allocations: 116.8 kB / 0.7664 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.007202, allocations: 180.9 kB / 0.7666 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.007227, allocations: 37.7 kB / 0.7666 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.007267, allocations: 117.2 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.007345, allocations: 158.7 kB / 0.7669 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.007429, allocations: 108.7 kB / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.007515, allocations: 346.7 kB / 0.7673 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.007581, allocations: 57.28 kB / 0.7674 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.007859, allocations: 164.7 kB / 0.7675 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.00806, allocations: 269.9 kB / 0.7678 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.008063, allocations: 4 kB / 0.7678 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002514/0.008314, allocations: 284 kB / 0.7681 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.008325, allocations: 4 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008331, allocations: 4 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.008345, allocations: 8 kB / 0.7681 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.008531, allocations: 91.83 kB / 0.7682 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.008538, allocations: 8.141 kB / 0.7682 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.008652, allocations: 52.78 kB / 0.7682 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.008669, allocations: 20.88 kB / 0.7682 GB, free: 13.84 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 9.172e-05/0.008761, allocations: 156.4 kB / 0.7684 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.008796, allocations: 30.73 kB / 0.7684 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.008831, allocations: 33.95 kB / 0.7685 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.008836, allocations: 8 kB / 0.7685 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.008839, allocations: 0 / 0.7685 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.008844, allocations: 3.984 kB / 0.7685 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.008997, allocations: 173.6 kB / 0.7686 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008999, allocations: 0 / 0.7686 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.00919, allocations: 78.83 kB / 0.7687 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009193, allocations: 0 / 0.7687 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.009209, allocations: 11.98 kB / 0.7687 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.009213, allocations: 7.938 kB / 0.7687 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009214, allocations: 0 / 0.7687 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.00953, allocations: 335 kB / 0.769 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.00955, allocations: 27.75 kB / 0.7691 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.009577, allocations: 12 kB / 0.7691 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.009665, allocations: 33.8 kB / 0.7691 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.009748, allocations: 75.78 kB / 0.7692 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.009761, allocations: 8.062 kB / 0.7692 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.009794, allocations: 50.48 kB / 0.7692 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009794, allocations: 0 / 0.7692 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000183/0.009977, allocations: 84.64 kB / 0.7693 GB, free: 12.69 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.691e-05/0.01006, allocations: 91.64 kB / 0.7694 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.01031, allocations: 240.2 kB / 0.7696 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01031, allocations: 1.5 kB / 0.7696 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.01043, allocations: 121.6 kB / 0.7698 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.01058, allocations: 45.78 kB / 0.7698 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.01129, allocations: 0.5593 MB / 0.7703 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.01134, allocations: 97.61 kB / 0.7704 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.263e-05/0.01144, allocations: 39.98 kB / 0.7705 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.01157, allocations: 115.3 kB / 0.7706 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.01157, allocations: 0 / 0.7706 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.005913/0.01748, allocations: 3.937 MB / 0.7744 GB, free: 7.586 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.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.085565246641636]