Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001341/0.001341, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001463/0.001463, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.319/3.319, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002136/0.002136, allocations: 63.41 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3652, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002328/0.3676, allocations: 1.036 MB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3691, allocations: 1.127 MB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.3692, allocations: 0 / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.802e-05/0.3692, allocations: 19.69 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.3693, allocations: 47.58 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.3698, allocations: 155.7 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.3701, allocations: 323.1 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3703, allocations: 40.55 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.3705, allocations: 127.7 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.3707, allocations: 139.3 kB / 1.368 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.3708, allocations: 36 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.3709, allocations: 32 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.3709, allocations: 79.78 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3711, allocations: 111.5 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.3714, allocations: 326.7 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3714, allocations: 0 / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3714, allocations: 0 / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3714, allocations: 0 / 1.368 GB, free: 9.984 MB / 1.061 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.001233/0.3727, allocations: 0.5559 MB / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3727, allocations: 8.031 kB / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.3731, allocations: 60.77 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3732, allocations: 154.9 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/0.3736, allocations: 491.6 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.3737, allocations: 36.36 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.3742, allocations: 258.3 kB / 1.37 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3742, allocations: 7.922 kB / 1.37 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.3743, allocations: 12 kB / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3743, allocations: 4 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.3747, allocations: 180.9 kB / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3758, allocations: 0.6486 MB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.3763, allocations: 199.7 kB / 1.371 GB, free: 7.145 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.3766, allocations: 127.5 kB / 1.371 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.3766, allocations: 15.98 kB / 1.371 GB, free: 6.996 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005803/0.3772, allocations: 303.4 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/0.3772, allocations: 0 / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.001106/0.3783, allocations: 0.4927 MB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/0.3784, allocations: 110.8 kB / 1.372 GB, free: 6.051 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3786, allocations: 183.5 kB / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.3786, allocations: 45.7 kB / 1.372 GB, free: 5.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.3787, allocations: 113.3 kB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.3789, allocations: 158.7 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.379, allocations: 106.3 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3792, allocations: 342.8 kB / 1.373 GB, free: 5.082 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.3795, allocations: 149.2 kB / 1.373 GB, free: 4.938 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.3799, allocations: 252.7 kB / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.3806, allocations: 394.1 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3806, allocations: 4 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000895/0.3815, allocations: 493 kB / 1.374 GB, free: 3.738 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3815, allocations: 8 kB / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3815, allocations: 0 / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3816, allocations: 11.94 kB / 1.374 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.3819, allocations: 91.83 kB / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.382, allocations: 15.92 kB / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.3822, allocations: 55.75 kB / 1.374 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.3823, allocations: 20 kB / 1.374 GB, free: 3.539 MB / 1.061 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.0001735/0.3824, allocations: 155.5 kB / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3825, allocations: 31.89 kB / 1.374 GB, free: 3.344 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.694e-05/0.3826, allocations: 41.89 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.3826, allocations: 4 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3826, allocations: 4 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3826, allocations: 3.984 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.3829, allocations: 237 kB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3829, allocations: 0 / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.3833, allocations: 75.89 kB / 1.375 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3833, allocations: 4 kB / 1.375 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3834, allocations: 12 kB / 1.375 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3834, allocations: 7.938 kB / 1.375 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3834, allocations: 3.984 kB / 1.375 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3845, allocations: 0.59 MB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.3846, allocations: 31.75 kB / 1.375 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.3846, allocations: 8 kB / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.3849, allocations: 35.91 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.385, allocations: 39.92 kB / 1.375 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.385, allocations: 16 kB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001117/0.3851, allocations: 129.1 kB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3851, allocations: 4 kB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003342/0.3854, allocations: 80 kB / 1.375 GB, free: 1.98 MB / 1.061 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.000166/0.3856, allocations: 119.1 kB / 1.376 GB, free: 1.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007925/0.3864, allocations: 364.3 kB / 1.376 GB, free: 1.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3864, allocations: 0 / 1.376 GB, free: 1.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.3868, allocations: 172.4 kB / 1.376 GB, free: 1.332 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3871, allocations: 48.55 kB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3883, allocations: 0.6396 MB / 1.377 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.3884, allocations: 156.2 kB / 1.377 GB, free: 444 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.3886, allocations: 39.42 kB / 1.377 GB, free: 404 kB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3886, allocations: 4 kB / 1.377 GB, free: 400 kB / 1.061 GB Notification: Performance of Templates: time 0.006817/0.3954, allocations: 4.075 MB / 1.381 GB, free: 12.34 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.645305471029133]