Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001789/0.001789, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002265/0.002265, allocations: 214 kB / 22.25 MB, free: 4.855 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.61/1.61, allocations: 230.6 MB / 256 MB, free: 7.77 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.682/3.682, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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_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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [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.002091/0.002091, allocations: 71.33 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5232, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003548/0.5268, allocations: 1.921 MB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.5281, allocations: 0.6983 MB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.5282, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.737e-05/0.5283, allocations: 23.67 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.5284, allocations: 39.58 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.5289, allocations: 175.6 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.5293, allocations: 327.1 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.5295, allocations: 40.86 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.5297, allocations: 143.6 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.53, allocations: 135.3 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.53, allocations: 32 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.5301, allocations: 35.98 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.5302, allocations: 79.78 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.5303, allocations: 111.5 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.5307, allocations: 318.7 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5307, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5307, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5307, allocations: 4 kB / 1.368 GB, free: 9.445 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.00131/0.532, allocations: 0.5638 MB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5321, allocations: 8.031 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.5324, allocations: 60.66 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.5328, allocations: 198.1 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/0.5333, allocations: 499.6 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.5333, allocations: 28.36 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.5339, allocations: 265.8 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.5339, allocations: 8 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.534, allocations: 8 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.534, allocations: 4 kB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.5344, allocations: 179.8 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.5356, allocations: 0.6525 MB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.5362, allocations: 195.7 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.5365, allocations: 134.5 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.5365, allocations: 4 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005694/0.5371, allocations: 303.8 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 4.769e-06/0.5371, allocations: 3.984 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.00118/0.5383, allocations: 495.5 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.5384, allocations: 118.8 kB / 1.371 GB, free: 5.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.5386, allocations: 178.9 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.5387, allocations: 37.7 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5388, allocations: 129.2 kB / 1.372 GB, free: 5.117 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.539, allocations: 154.8 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.5391, allocations: 102.3 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.5393, allocations: 338.8 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.5397, allocations: 153.2 kB / 1.372 GB, free: 4.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.5401, allocations: 252.7 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.5407, allocations: 402 kB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5408, allocations: 0 / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008993/0.5417, allocations: 497 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5417, allocations: 11.94 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5417, allocations: 4 kB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.5417, allocations: 4 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.5421, allocations: 95.83 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5421, allocations: 7.938 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.5424, allocations: 63.69 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.5424, allocations: 20 kB / 1.374 GB, free: 2.961 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.0002017/0.5426, allocations: 163.4 kB / 1.374 GB, free: 2.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.5427, allocations: 27.8 kB / 1.374 GB, free: 2.762 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.5428, allocations: 33.95 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5428, allocations: 11.94 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.5428, allocations: 0 / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5428, allocations: 3.984 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.5432, allocations: 245 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5432, allocations: 0 / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.5436, allocations: 71.89 kB / 1.374 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.5436, allocations: 8 kB / 1.374 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.5436, allocations: 15.94 kB / 1.374 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.5436, allocations: 4 kB / 1.374 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5436, allocations: 0 / 1.374 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5448, allocations: 0.5899 MB / 1.375 GB, free: 1.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.5449, allocations: 31.73 kB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.5449, allocations: 11.94 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.5451, allocations: 35.97 kB / 1.375 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.5453, allocations: 55.91 kB / 1.375 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.5453, allocations: 19.98 kB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001209/0.5454, allocations: 132.3 kB / 1.375 GB, free: 1.441 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5454, allocations: 0 / 1.375 GB, free: 1.441 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003303/0.5458, allocations: 75.98 kB / 1.375 GB, free: 1.367 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.0002058/0.546, allocations: 119.3 kB / 1.375 GB, free: 1.242 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007712/0.5467, allocations: 357 kB / 1.376 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5467, allocations: 0 / 1.376 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.5471, allocations: 188.5 kB / 1.376 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.5475, allocations: 58.67 kB / 1.376 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.5487, allocations: 0.6275 MB / 1.377 GB, free: 0 / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.5489, allocations: 160.2 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.5491, allocations: 38.95 kB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.5492, allocations: 35.44 kB / 1.377 GB, free: 15.74 MB / 1.076 GB Notification: Performance of SimCode: time 6.91e-07/0.5492, allocations: 192 / 1.377 GB, free: 15.74 MB / 1.076 GB Notification: Performance of Templates: time 0.009555/0.5588, allocations: 4.257 MB / 1.381 GB, free: 11.55 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.42264098674059]