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.001539/0.001539, allocations: 102.1 kB / 19.7 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.001902/0.001902, allocations: 220.6 kB / 23.01 MB, free: 4.605 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.296/3.296, allocations: 0.505 GB / 0.8108 GB, free: 22.09 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.002099/0.002099, allocations: 70.94 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3918, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002611/0.3944, allocations: 1.124 MB / 1.355 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.3961, allocations: 1.151 MB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.3962, allocations: 4 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.763e-05/0.3962, allocations: 23.67 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.3964, allocations: 43.58 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.3969, allocations: 143.8 kB / 1.357 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.3972, allocations: 327.1 kB / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.3974, allocations: 40.5 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.3977, allocations: 131.7 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.3979, allocations: 155.3 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.398, allocations: 32 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.895e-05/0.3981, allocations: 36 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.3981, allocations: 75.78 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3983, allocations: 139.3 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.3987, allocations: 318.7 kB / 1.358 GB, free: 4.242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3987, allocations: 0 / 1.358 GB, free: 4.242 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3987, allocations: 0 / 1.358 GB, free: 4.242 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3987, allocations: 0 / 1.358 GB, free: 4.242 MB / 1.045 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.001337/0.4, allocations: 0.5637 MB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4001, allocations: 8.031 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.4004, allocations: 64.75 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.4006, allocations: 143 kB / 1.359 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/0.401, allocations: 499.6 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.4011, allocations: 32.33 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.4016, allocations: 258.3 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.4016, allocations: 11.94 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.4016, allocations: 8 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4017, allocations: 4 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.4021, allocations: 176.5 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4033, allocations: 0.7455 MB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.4038, allocations: 203.7 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.4041, allocations: 130.5 kB / 1.361 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.4041, allocations: 11.98 kB / 1.361 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/0.4047, allocations: 307.7 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.4047, allocations: 0 / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.00107/0.4058, allocations: 494.1 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.4059, allocations: 122.8 kB / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4061, allocations: 179.6 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.4062, allocations: 41.7 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.4062, allocations: 117.3 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.4064, allocations: 158.7 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.4065, allocations: 106.3 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4067, allocations: 338.8 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.407, allocations: 149.2 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.4074, allocations: 252.7 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.4081, allocations: 394.1 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4081, allocations: 0 / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008953/0.409, allocations: 493.3 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.409, allocations: 11.94 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.409, allocations: 4 kB / 1.364 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.409, allocations: 8 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.4094, allocations: 103.8 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4095, allocations: 7.938 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.4097, allocations: 51.75 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.4098, allocations: 20 kB / 1.364 GB, free: 13.68 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.0001989/0.41, allocations: 171.4 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.41, allocations: 31.75 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.4101, allocations: 29.97 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.4101, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4101, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4101, allocations: 3.984 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.4105, allocations: 328.3 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4105, allocations: 0 / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.4109, allocations: 71.89 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.4109, allocations: 7.938 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.411, allocations: 16 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.411, allocations: 64 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.411, allocations: 8 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4121, allocations: 0.5862 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.4122, allocations: 31.73 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.4122, allocations: 11.94 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.4124, allocations: 31.97 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4126, allocations: 40.02 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.4126, allocations: 19.98 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001203/0.4127, allocations: 125.2 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4127, allocations: 4 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003516/0.4131, allocations: 80 kB / 1.365 GB, free: 12.01 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.0001854/0.4133, allocations: 116 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007816/0.414, allocations: 368.2 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.414, allocations: 4 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.4144, allocations: 167.8 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.4147, allocations: 49.81 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.416, allocations: 0.6357 MB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.4164, allocations: 0.7648 MB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.4166, allocations: 39.42 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of SimCode: time 9.02e-07/0.4166, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of Templates: time 0.006869/0.4235, allocations: 3.992 MB / 1.371 GB, free: 5.84 MB / 1.061 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: 12.05867642199155]