Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002831/0.002831, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.1/3.1, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 71.89 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003435/1.161, allocations: 1.996 MB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001143/1.162, allocations: 0.6475 MB / 1.275 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/1.162, allocations: 5.844 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.667e-05/1.162, allocations: 28.36 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/1.162, allocations: 44.36 kB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/1.162, allocations: 144.6 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00037/1.163, allocations: 327.6 kB / 1.275 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/1.163, allocations: 37 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/1.163, allocations: 132.5 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/1.163, allocations: 152.5 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/1.163, allocations: 37.84 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.562e-05/1.163, allocations: 29.66 kB / 1.276 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/1.164, allocations: 76.27 kB / 1.276 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/1.164, allocations: 131.1 kB / 1.276 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/1.164, allocations: 309.2 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.164, allocations: 1.125 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/1.164, allocations: 0 / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.164, allocations: 0 / 1.276 GB, free: 5.383 MB / 0.9981 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.001258/1.165, allocations: 0.6258 MB / 1.277 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.165, allocations: 9.75 kB / 1.277 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/1.165, allocations: 34.95 kB / 1.277 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/1.166, allocations: 214.3 kB / 1.277 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/1.166, allocations: 263.3 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/1.166, allocations: 30.91 kB / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/1.166, allocations: 260.6 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/1.166, allocations: 1.938 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/1.166, allocations: 11.53 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.166, allocations: 5.031 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/1.167, allocations: 181 kB / 1.278 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/1.168, allocations: 0.7787 MB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/1.168, allocations: 191.7 kB / 1.279 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/1.169, allocations: 124.6 kB / 1.279 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/1.169, allocations: 16.25 kB / 1.279 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000654/1.169, allocations: 309.4 kB / 1.279 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/1.169, allocations: 0 / 1.279 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.0011/1.171, allocations: 492.9 kB / 1.279 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/1.171, allocations: 116.2 kB / 1.28 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/1.171, allocations: 172.6 kB / 1.28 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/1.171, allocations: 42.94 kB / 1.28 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/1.171, allocations: 120.8 kB / 1.28 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.171, allocations: 162.8 kB / 1.28 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.171, allocations: 108.4 kB / 1.28 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/1.171, allocations: 339.2 kB / 1.28 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/1.172, allocations: 144.6 kB / 1.281 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/1.172, allocations: 263.5 kB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/1.173, allocations: 393.3 kB / 1.281 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.173, allocations: 0.6875 kB / 1.281 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008456/1.173, allocations: 497.4 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.174, allocations: 5.125 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.174, allocations: 1.938 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.174, allocations: 7.203 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/1.174, allocations: 97.06 kB / 1.282 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.174, allocations: 7.234 kB / 1.282 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/1.174, allocations: 62.31 kB / 1.282 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.174, allocations: 19.45 kB / 1.282 GB, free: 1.426 MB / 0.9981 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.0001405/1.174, allocations: 160.1 kB / 1.282 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/1.174, allocations: 33.97 kB / 1.282 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/1.175, allocations: 32.17 kB / 1.282 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.175, allocations: 9.25 kB / 1.282 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.175, allocations: 2.719 kB / 1.282 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/1.175, allocations: 2.391 kB / 1.282 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/1.175, allocations: 351 kB / 1.282 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.175, allocations: 1.156 kB / 1.282 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/1.175, allocations: 79.34 kB / 1.283 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.175, allocations: 6.266 kB / 1.283 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/1.175, allocations: 17.11 kB / 1.283 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.175, allocations: 1.625 kB / 1.283 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.175, allocations: 0.6875 kB / 1.283 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.176, allocations: 0.5827 MB / 1.283 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/1.176, allocations: 110.5 kB / 1.283 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/1.177, allocations: 12.36 kB / 1.283 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.177, allocations: 34.17 kB / 1.283 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.177, allocations: 58.36 kB / 1.283 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/1.177, allocations: 16.2 kB / 1.283 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.164e-05/1.177, allocations: 126.6 kB / 1.283 GB, free: 436 kB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.177, allocations: 0 / 1.283 GB, free: 436 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003303/1.177, allocations: 77.45 kB / 1.284 GB, free: 424 kB / 0.9981 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.0001817/1.178, allocations: 126.1 kB / 1.284 GB, free: 316 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007474/1.178, allocations: 363.8 kB / 1.284 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.178, allocations: 192 / 1.284 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/1.179, allocations: 183.6 kB / 1.284 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/1.179, allocations: 57.05 kB / 1.284 GB, free: 112 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/1.18, allocations: 0.6362 MB / 1.285 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/1.181, allocations: 0.7646 MB / 1.286 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001656/1.181, allocations: 38.16 kB / 1.286 GB, free: 15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.181, allocations: 36.41 kB / 1.286 GB, free: 14.99 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.181, allocations: 1.469 kB / 1.286 GB, free: 14.99 MB / 1.014 GB Notification: Performance of Templates: time 0.01018/1.191, allocations: 4.048 MB / 1.29 GB, free: 14.71 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.227080065757036]