Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001828/0.001828, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002512/0.002512, allocations: 214 kB / 23.01 MB, free: 4.566 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.8 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 66.17 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3788, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003628/0.3824, allocations: 2.011 MB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3839, allocations: 0.7341 MB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.384, allocations: 3.938 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.876e-05/0.384, allocations: 15.75 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3842, allocations: 55.5 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.3848, allocations: 175.6 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.3852, allocations: 335 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3853, allocations: 36.91 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.3856, allocations: 139.5 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.3858, allocations: 151.4 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.3858, allocations: 28 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/0.3859, allocations: 36 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.386, allocations: 79.78 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3862, allocations: 143.3 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.3865, allocations: 314.7 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3865, allocations: 0 / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3866, allocations: 0 / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3866, allocations: 3.938 kB / 1.289 GB, free: 6.953 MB / 0.9825 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.001311/0.3879, allocations: 0.5638 MB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3879, allocations: 12.03 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.3883, allocations: 60.72 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.3887, allocations: 194.1 kB / 1.29 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.3891, allocations: 495.6 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.3891, allocations: 32.38 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.3896, allocations: 261.8 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3897, allocations: 7.953 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.3897, allocations: 15.97 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3897, allocations: 12 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.3902, allocations: 167.8 kB / 1.291 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3913, allocations: 0.7534 MB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.3918, allocations: 199.7 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.3921, allocations: 122.5 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.3921, allocations: 15.98 kB / 1.292 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/0.3927, allocations: 307.6 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/0.3927, allocations: 4 kB / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001057/0.3937, allocations: 481.5 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.3938, allocations: 122.7 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.394, allocations: 180.8 kB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.3941, allocations: 37.7 kB / 1.293 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.3942, allocations: 125.3 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.3943, allocations: 154.8 kB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3945, allocations: 106.3 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3946, allocations: 342.8 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.3949, allocations: 145.2 kB / 1.294 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.3953, allocations: 256.7 kB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.396, allocations: 394 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.396, allocations: 0 / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008678/0.3969, allocations: 0.4892 MB / 1.295 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3969, allocations: 4 kB / 1.295 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3969, allocations: 4 kB / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3969, allocations: 4 kB / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.3973, allocations: 103.8 kB / 1.295 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3973, allocations: 4.062 kB / 1.295 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.3976, allocations: 59.75 kB / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.3976, allocations: 24 kB / 1.295 GB, free: 360 kB / 0.9825 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.0002071/0.3979, allocations: 159.4 kB / 1.295 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.3979, allocations: 35.75 kB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.398, allocations: 33.97 kB / 1.295 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.398, allocations: 11.94 kB / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.398, allocations: 0 / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.398, allocations: 8.062 kB / 1.295 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.3985, allocations: 324.5 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3985, allocations: 4 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.3989, allocations: 79.83 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3989, allocations: 0 / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.3989, allocations: 12 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.3989, allocations: 4 kB / 1.295 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3989, allocations: 7.984 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4, allocations: 0.5789 MB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.4001, allocations: 39.69 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.4001, allocations: 12 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4003, allocations: 23.97 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4005, allocations: 47.92 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.4005, allocations: 12 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000119/0.4006, allocations: 132.3 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4006, allocations: 0 / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003469/0.401, allocations: 80 kB / 1.296 GB, free: 14.69 MB / 0.9981 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.0002197/0.4012, allocations: 119.3 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007915/0.402, allocations: 360.4 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.402, allocations: 0 / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.4023, allocations: 178.4 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.4027, allocations: 44.22 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.404, allocations: 0.6634 MB / 1.298 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.4044, allocations: 0.765 MB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.4045, allocations: 39.44 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.4045, allocations: 3.938 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.007213/0.4118, allocations: 4.053 MB / 1.302 GB, free: 8.426 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,sinInpNoDel.y,movAve1.y,movAve2.y,movAve3.y,movAve4.y,sinInp50sDel.y,movAve6.y,movAve7.y,sinInp100sDel.y,movAve8.y,movAve9.y Variables in the result:movAve1.y,movAve2.y,movAve3.y,movAve4.y,movAve6.y,movAve7.y,movAve8.y,movAve9.y,sinInp100sDel.y,sinInp50sDel.y,sinInpNoDel.y,time [Calling sys.exit(0), Time elapsed: 11.6123942900158]