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.001456/0.001456, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001794/0.001794, allocations: 169 kB / 24.28 MB, free: 272 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 1.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.929/1.929, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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.976e-06/2.976e-06, allocations: 0 / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.657e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002485/0.002521, allocations: 1.071 MB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.004077, allocations: 1.156 MB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004192, allocations: 4 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.558e-05/0.004248, allocations: 21.25 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.004386, allocations: 43.52 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.004935, allocations: 157.9 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.005325, allocations: 335 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.005492, allocations: 36.52 kB / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.005855, allocations: 199.6 kB / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.006053, allocations: 113.7 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.006108, allocations: 35.94 kB / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.00619, allocations: 32 kB / 0.7903 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.006262, allocations: 83.7 kB / 0.7904 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.006365, allocations: 95.78 kB / 0.7905 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.006699, allocations: 236.7 kB / 0.7907 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.006705, allocations: 4 kB / 0.7907 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.006706, allocations: 0 / 0.7907 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.006712, allocations: 0 / 0.7907 GB, free: 9.113 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.0011/0.007812, allocations: 0.6577 MB / 0.7913 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.007861, allocations: 8.031 kB / 0.7913 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/0.008207, allocations: 80.72 kB / 0.7914 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.008352, allocations: 141.2 kB / 0.7915 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.008663, allocations: 0.4919 MB / 0.792 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.008722, allocations: 24.38 kB / 0.792 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.009167, allocations: 237 kB / 0.7923 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.009187, allocations: 4.719 kB / 0.7923 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.009215, allocations: 8.375 kB / 0.7923 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.00923, allocations: 9.781 kB / 0.7923 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.009474, allocations: 99.8 kB / 0.7924 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.01052, allocations: 0.7709 MB / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.01092, allocations: 172.3 kB / 0.7933 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.01108, allocations: 92.12 kB / 0.7934 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.01112, allocations: 11.98 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.01152, allocations: 266.4 kB / 0.7937 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 3.367e-06/0.01152, allocations: 1.375 kB / 0.7937 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0007552/0.01228, allocations: 372.3 kB / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.01236, allocations: 123.1 kB / 0.7941 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.01253, allocations: 236.3 kB / 0.7944 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.01257, allocations: 37.7 kB / 0.7944 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.01276, allocations: 172 kB / 0.7946 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.01288, allocations: 154.8 kB / 0.7947 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.01303, allocations: 108 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01319, allocations: 0.5165 MB / 0.7953 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.01338, allocations: 81.25 kB / 0.7954 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.01366, allocations: 227.6 kB / 0.7956 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.01412, allocations: 328 kB / 0.7959 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.01413, allocations: 1.281 kB / 0.7959 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006325/0.01476, allocations: 401.3 kB / 0.7963 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.01478, allocations: 8 kB / 0.7963 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.01479, allocations: 4 kB / 0.7963 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.01482, allocations: 4.844 kB / 0.7963 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.01513, allocations: 91.89 kB / 0.7964 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.01515, allocations: 24.83 kB / 0.7964 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.01534, allocations: 53.23 kB / 0.7965 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.01537, allocations: 23.98 kB / 0.7965 GB, free: 2.656 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.0001528/0.01552, allocations: 199.7 kB / 0.7967 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.01559, allocations: 47.75 kB / 0.7967 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.01565, allocations: 37.02 kB / 0.7968 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.01565, allocations: 4 kB / 0.7968 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01566, allocations: 0 / 0.7968 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.01567, allocations: 11.92 kB / 0.7968 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.01594, allocations: 228.4 kB / 0.797 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01594, allocations: 4 kB / 0.797 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.01625, allocations: 67.91 kB / 0.7971 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.01626, allocations: 4 kB / 0.7971 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.01629, allocations: 12.48 kB / 0.7971 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01629, allocations: 0 / 0.7971 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01629, allocations: 5.938 kB / 0.7971 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.01703, allocations: 472.5 kB / 0.7976 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.01706, allocations: 27.8 kB / 0.7976 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.01711, allocations: 8 kB / 0.7976 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.01725, allocations: 35.27 kB / 0.7976 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.01739, allocations: 71.84 kB / 0.7977 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.01742, allocations: 16 kB / 0.7977 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.885e-05/0.01751, allocations: 160 kB / 0.7979 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01751, allocations: 3.938 kB / 0.7979 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003258/0.01784, allocations: 80 kB / 0.7979 GB, free: 1.133 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.0001592/0.018, allocations: 115.3 kB / 0.798 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.01849, allocations: 281.7 kB / 0.7983 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0185, allocations: 0 / 0.7983 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.01873, allocations: 137.4 kB / 0.7984 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01905, allocations: 54.22 kB / 0.7985 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.02025, allocations: 0.5675 MB / 0.7991 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.972e-05/0.02032, allocations: 102 kB / 0.7991 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.02045, allocations: 43.8 kB / 0.7992 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.02057, allocations: 44.48 kB / 0.7992 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of SimCode: time 1.162e-06/0.02057, allocations: 0 / 0.7992 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.007835/0.0284, allocations: 4.041 MB / 0.8032 GB, free: 11.77 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.623421740019694]