Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001007/0.001007, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00162/0.00162, allocations: 165 kB / 23.82 MB, free: 0.75 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.9977/0.9977, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.841/1.841, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.156e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00179/0.001821, allocations: 1.082 MB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003078, allocations: 1.156 MB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.003153, allocations: 4.906 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.0032, allocations: 15.75 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.0033, allocations: 49.53 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.003721, allocations: 155.7 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.00399, allocations: 332.3 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.004122, allocations: 32.52 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.004409, allocations: 199.6 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.004554, allocations: 124.7 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.004593, allocations: 28 kB / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.004653, allocations: 35.94 kB / 0.7903 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.004701, allocations: 77.08 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.004779, allocations: 99.78 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.00503, allocations: 235.2 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005033, allocations: 0.7188 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005035, allocations: 0 / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.005042, allocations: 1.656 kB / 0.7907 GB, free: 8.797 MB / 0.7448 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.0008138/0.005855, allocations: 0.6586 MB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005894, allocations: 8.031 kB / 0.7913 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.006116, allocations: 78.25 kB / 0.7914 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.006223, allocations: 145.2 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.00644, allocations: 499.7 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.00649, allocations: 31.09 kB / 0.7921 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.006808, allocations: 232.3 kB / 0.7923 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.006823, allocations: 4.188 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.006844, allocations: 4.375 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.006854, allocations: 12.12 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.007026, allocations: 103.7 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.007786, allocations: 0.7682 MB / 0.7932 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.008075, allocations: 170.8 kB / 0.7933 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.008192, allocations: 90.97 kB / 0.7934 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.008228, allocations: 15.92 kB / 0.7934 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.008514, allocations: 266.8 kB / 0.7937 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.008516, allocations: 1.375 kB / 0.7937 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0005507/0.009067, allocations: 372.6 kB / 0.794 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.009125, allocations: 119.1 kB / 0.7941 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.00925, allocations: 230.6 kB / 0.7944 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.009279, allocations: 42.86 kB / 0.7944 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.009348, allocations: 168 kB / 0.7946 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.00944, allocations: 154.8 kB / 0.7947 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.009545, allocations: 113.3 kB / 0.7948 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.009673, allocations: 0.5079 MB / 0.7953 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.009808, allocations: 89.25 kB / 0.7954 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.009999, allocations: 224.5 kB / 0.7956 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.01032, allocations: 324 kB / 0.7959 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.01032, allocations: 4 kB / 0.7959 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004639/0.01079, allocations: 409.3 kB / 0.7963 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.0108, allocations: 7.984 kB / 0.7963 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01081, allocations: 4.531 kB / 0.7963 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01083, allocations: 5.906 kB / 0.7963 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.01107, allocations: 103.8 kB / 0.7964 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.01108, allocations: 11.94 kB / 0.7964 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.01122, allocations: 52.62 kB / 0.7965 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.01124, allocations: 24 kB / 0.7965 GB, free: 2.336 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.000125/0.01137, allocations: 197.8 kB / 0.7967 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.01142, allocations: 47.8 kB / 0.7968 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.01146, allocations: 29.97 kB / 0.7968 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01147, allocations: 4 kB / 0.7968 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.01147, allocations: 4 kB / 0.7968 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.01148, allocations: 7.922 kB / 0.7968 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.01168, allocations: 228.4 kB / 0.797 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01168, allocations: 4 kB / 0.797 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.0119, allocations: 68.52 kB / 0.7971 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.0119, allocations: 4.5 kB / 0.7971 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.01193, allocations: 13.81 kB / 0.7971 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.01193, allocations: 4 kB / 0.7971 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01193, allocations: 3.938 kB / 0.7971 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.0125, allocations: 466.8 kB / 0.7976 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01252, allocations: 25.73 kB / 0.7976 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.01255, allocations: 15.98 kB / 0.7976 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01266, allocations: 27.97 kB / 0.7976 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.01277, allocations: 71.78 kB / 0.7977 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.01279, allocations: 24.58 kB / 0.7977 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.01286, allocations: 156.8 kB / 0.7979 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01286, allocations: 0 / 0.7979 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002561/0.01312, allocations: 80 kB / 0.7979 GB, free: 0.8203 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.0001363/0.01325, allocations: 119.4 kB / 0.7981 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.01365, allocations: 277.8 kB / 0.7983 GB, free: 436 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01365, allocations: 0.6562 kB / 0.7983 GB, free: 436 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.01382, allocations: 144.8 kB / 0.7985 GB, free: 288 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01408, allocations: 48.09 kB / 0.7985 GB, free: 240 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.01511, allocations: 0.5807 MB / 0.7991 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.01516, allocations: 93.61 kB / 0.7992 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.538e-05/0.01526, allocations: 42.39 kB / 0.7992 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.01535, allocations: 41.58 kB / 0.7992 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of SimCode: time 1.012e-06/0.01536, allocations: 0 / 0.7992 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.006215/0.02157, allocations: 4.038 MB / 0.8032 GB, free: 11.46 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.314965033438057]