Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001646/0.001646, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002054/0.002054, allocations: 210.1 kB / 22.25 MB, free: 5.262 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.785 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 3.047/3.047, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] 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,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") 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_11_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.002211/0.002211, allocations: 65.05 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3769, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002397/0.3792, allocations: 1.039 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3809, allocations: 1.121 MB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.381, allocations: 4 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.773e-05/0.381, allocations: 23.67 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3812, allocations: 39.58 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.3817, allocations: 151.7 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.382, allocations: 335 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.3822, allocations: 28.58 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3825, allocations: 147.6 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.3827, allocations: 139.3 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3827, allocations: 28 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.3828, allocations: 36 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.3829, allocations: 75.78 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.383, allocations: 119.5 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.3835, allocations: 318.7 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.3835, allocations: 3.984 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3835, allocations: 0 / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3835, allocations: 0 / 1.287 GB, free: 8.324 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.001341/0.3848, allocations: 0.556 MB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3849, allocations: 16.03 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.3852, allocations: 56.72 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3854, allocations: 151 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.3858, allocations: 499.6 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.3859, allocations: 24.38 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.3864, allocations: 258.3 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.3864, allocations: 11.89 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.3864, allocations: 7.984 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3865, allocations: 8 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.3869, allocations: 175.8 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.388, allocations: 0.6447 MB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.3885, allocations: 195.7 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.3888, allocations: 126.5 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.3889, allocations: 11.98 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005985/0.3894, allocations: 311.4 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.524e-06/0.3895, allocations: 3.938 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001136/0.3906, allocations: 0.4938 MB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.3907, allocations: 118.8 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3909, allocations: 176.1 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.3909, allocations: 41.7 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.391, allocations: 117.4 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.3911, allocations: 158.7 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3913, allocations: 106.3 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3915, allocations: 338.8 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.3918, allocations: 149.2 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.3922, allocations: 256.7 kB / 1.291 GB, free: 3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006776/0.3929, allocations: 398 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3929, allocations: 0 / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008973/0.3938, allocations: 489.4 kB / 1.292 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.3938, allocations: 8 kB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3938, allocations: 4 kB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3939, allocations: 11.94 kB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.3943, allocations: 99.83 kB / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3943, allocations: 7.938 kB / 1.292 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3946, allocations: 59.69 kB / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.3946, allocations: 20 kB / 1.292 GB, free: 1.883 MB / 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.0001874/0.3948, allocations: 159.5 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.3949, allocations: 27.86 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.31e-05/0.3949, allocations: 37.89 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3949, allocations: 4 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.395, allocations: 4 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.395, allocations: 3.984 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3953, allocations: 241 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3953, allocations: 0 / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.3957, allocations: 75.95 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.3957, allocations: 4 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.3957, allocations: 8 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3957, allocations: 11.94 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3957, allocations: 0 / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3969, allocations: 0.5861 MB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3969, allocations: 23.8 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.397, allocations: 15.98 kB / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.3972, allocations: 31.91 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3974, allocations: 63.91 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.3974, allocations: 19.98 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001084/0.3975, allocations: 125.2 kB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 0 / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003578/0.3979, allocations: 79.95 kB / 1.294 GB, free: 320 kB / 0.9825 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.0001678/0.398, allocations: 125.5 kB / 1.294 GB, free: 188 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008152/0.3989, allocations: 366.6 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3989, allocations: 0 / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.3993, allocations: 179.7 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3996, allocations: 45.81 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.4009, allocations: 0.6177 MB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.401, allocations: 156.2 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.4012, allocations: 43.23 kB / 1.295 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4013, allocations: 39.42 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.4013, allocations: 3.938 kB / 1.295 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.009546/0.4109, allocations: 4.218 MB / 1.3 GB, free: 10.56 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.837723277509212]