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.001662/0.001662, allocations: 95.92 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.002212/0.002212, allocations: 206.8 kB / 23 MB, free: 4.934 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.622/1.622, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.282/3.282, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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,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: 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.00205/0.00205, allocations: 69.03 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3926, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003221/0.3958, allocations: 1.036 MB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3978, allocations: 1.131 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3979, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.623e-05/0.398, allocations: 19.73 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3982, allocations: 43.52 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.3987, allocations: 151.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.3992, allocations: 327.2 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.3994, allocations: 36.58 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.3997, allocations: 147.5 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.3999, allocations: 151.4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.4, allocations: 28 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.4001, allocations: 32 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.4001, allocations: 79.73 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.4003, allocations: 115.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.4007, allocations: 322.7 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4007, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4007, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4007, allocations: 0 / 1.331 GB, free: 13.36 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.001414/0.4021, allocations: 0.5559 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4022, allocations: 12.03 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.4025, allocations: 60.72 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4027, allocations: 147 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/0.4031, allocations: 495.6 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.4031, allocations: 32.38 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.4037, allocations: 262.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.4037, allocations: 7.891 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4037, allocations: 12 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4037, allocations: 8 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.4042, allocations: 179.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.4052, allocations: 0.6447 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.4058, allocations: 207.7 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.4061, allocations: 126.8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.4061, allocations: 11.98 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.4067, allocations: 311.2 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.4067, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001094/0.4078, allocations: 491.9 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.4079, allocations: 118.7 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.4081, allocations: 183.5 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.4081, allocations: 41.7 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.4082, allocations: 113.4 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.4084, allocations: 158.7 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.4085, allocations: 106.3 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4087, allocations: 342.8 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.409, allocations: 145.2 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.4094, allocations: 260.8 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.4101, allocations: 390 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4101, allocations: 4 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008738/0.4109, allocations: 489.4 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.411, allocations: 8 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.411, allocations: 0 / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.411, allocations: 11.94 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.4114, allocations: 95.83 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.4114, allocations: 11.94 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.4118, allocations: 55.7 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.4118, allocations: 27.98 kB / 1.337 GB, free: 6.902 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.0002056/0.412, allocations: 152 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.4121, allocations: 27.86 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.4122, allocations: 37.95 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.4122, allocations: 3.938 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4122, allocations: 0 / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.4122, allocations: 39.67 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.4123, allocations: 8 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.4125, allocations: 28.03 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.4127, allocations: 63.91 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001239/0.4139, allocations: 0.6514 MB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001295/0.4152, allocations: 0.8863 MB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003468/0.4155, allocations: 166.5 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001071/0.4156, allocations: 125.2 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of Backend: time 5.81e-07/0.4156, allocations: 0 / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.4167, allocations: 333.1 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of SimCode: time 0.001307/0.418, allocations: 0.9982 MB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of Templates: time 0.01144/0.4295, allocations: 5.805 MB / 1.346 GB, free: 13.58 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.774104228999931]