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.001611/0.001611, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001908/0.001908, allocations: 210.9 kB / 23 MB, free: 4.93 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.424/3.424, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002088/0.002088, allocations: 73.05 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4016, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003682/0.4053, allocations: 1.912 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.4066, allocations: 0.6973 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.4067, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.403e-05/0.4067, allocations: 23.67 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.4068, allocations: 43.58 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.4074, allocations: 183.6 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.4077, allocations: 327.1 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.4079, allocations: 40.86 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.4081, allocations: 143.6 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.4083, allocations: 155.3 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.4084, allocations: 28 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.4085, allocations: 40 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.4085, allocations: 75.73 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4087, allocations: 123.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.409, allocations: 306.8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.409, allocations: 7.984 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4091, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.4091, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 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.001342/0.4104, allocations: 0.5598 MB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4104, allocations: 15.97 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.4108, allocations: 60.72 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.4112, allocations: 190.1 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/0.4116, allocations: 499.6 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.4116, allocations: 32.36 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.4122, allocations: 261.8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4122, allocations: 7.953 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.4122, allocations: 11.98 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4122, allocations: 8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.4127, allocations: 175.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.4137, allocations: 0.6487 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.4142, allocations: 199.7 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.4145, allocations: 130.5 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.4146, allocations: 8 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/0.4151, allocations: 307.7 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.4151, allocations: 4 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001128/0.4163, allocations: 493.5 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.4163, allocations: 114.8 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.4165, allocations: 182.3 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.4166, allocations: 37.7 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4167, allocations: 121.3 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4168, allocations: 158.8 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.417, allocations: 102.3 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4172, allocations: 342.8 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.4175, allocations: 145.2 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.4179, allocations: 268.6 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.4186, allocations: 386.1 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4186, allocations: 0 / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000947/0.4195, allocations: 497 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4196, allocations: 4 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4196, allocations: 7.938 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.4196, allocations: 12.09 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.42, allocations: 95.81 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.42, allocations: 11.94 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.4203, allocations: 51.75 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.4204, allocations: 27.98 kB / 1.337 GB, free: 6.34 MB / 1.029 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.0001881/0.4206, allocations: 155.9 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.4206, allocations: 31.81 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.349e-05/0.4207, allocations: 41.89 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4207, allocations: 0 / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4207, allocations: 3.938 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.4207, allocations: 31.78 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.4208, allocations: 8 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.421, allocations: 32.03 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4212, allocations: 59.91 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00127/0.4225, allocations: 0.6561 MB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001347/0.4238, allocations: 0.8856 MB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003661/0.4242, allocations: 165.8 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001262/0.4243, allocations: 131.1 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of Backend: time 4.91e-07/0.4243, allocations: 0 / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.4254, allocations: 337.4 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of SimCode: time 0.001249/0.4267, allocations: 1.012 MB / 1.34 GB, free: 2.719 MB / 1.029 GB Notification: Performance of Templates: time 0.01159/0.4383, allocations: 5.831 MB / 1.346 GB, free: 12.97 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.637672176999331]