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.001594/0.001594, allocations: 110.2 kB / 19.69 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.001914/0.001914, allocations: 215.9 kB / 23.01 MB, free: 4.566 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.035 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 2.847/2.847, allocations: 476.8 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] 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.002059/0.002059, allocations: 62.89 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 169.9 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002536/0.3696, allocations: 1.127 MB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3713, allocations: 1.149 MB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.3714, allocations: 4 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.214e-05/0.3715, allocations: 23.67 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3716, allocations: 39.58 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.3721, allocations: 155.7 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.3724, allocations: 331 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3726, allocations: 36.58 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.3728, allocations: 139.7 kB / 1.288 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3731, allocations: 155.3 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.3731, allocations: 28 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.3732, allocations: 36 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.3733, allocations: 75.78 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.3734, allocations: 139.4 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3738, allocations: 314.7 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3738, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3738, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3738, allocations: 8 kB / 1.288 GB, free: 7.426 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.001268/0.3751, allocations: 0.552 MB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3751, allocations: 12.03 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.3755, allocations: 60.72 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3756, allocations: 147 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.376, allocations: 0.4918 MB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.3761, allocations: 24.38 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.3766, allocations: 258.3 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.3766, allocations: 19.83 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.3766, allocations: 8 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3766, allocations: 7.984 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.3771, allocations: 175.8 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3783, allocations: 0.7377 MB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.3788, allocations: 199.7 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3791, allocations: 126.5 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.3791, allocations: 15.98 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.3797, allocations: 307.7 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.644e-06/0.3797, allocations: 4 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001061/0.3807, allocations: 486.2 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.3808, allocations: 122.7 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.381, allocations: 180.1 kB / 1.292 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.3811, allocations: 41.7 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.3812, allocations: 117.4 kB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3813, allocations: 154.8 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.3815, allocations: 102.3 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3816, allocations: 342.8 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.3819, allocations: 149.2 kB / 1.293 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.3823, allocations: 252.7 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.383, allocations: 398 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.383, allocations: 4 kB / 1.294 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008777/0.3839, allocations: 481.7 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3839, allocations: 11.94 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3839, allocations: 4.078 kB / 1.294 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3839, allocations: 8 kB / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.3843, allocations: 95.83 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.3843, allocations: 15.92 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.3846, allocations: 59.64 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.3847, allocations: 20 kB / 1.294 GB, free: 0.8867 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.0002957/0.385, allocations: 163.5 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.385, allocations: 27.8 kB / 1.294 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.3851, allocations: 33.95 kB / 1.294 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/0.3851, allocations: 8.062 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.3852, allocations: 4 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3852, allocations: 0 / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.3857, allocations: 336.3 kB / 1.295 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3857, allocations: 0 / 1.295 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.3862, allocations: 83.81 kB / 1.295 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3862, allocations: 7.938 kB / 1.295 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.3862, allocations: 12 kB / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.3862, allocations: 7.984 kB / 1.295 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3862, allocations: 0 / 1.295 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3873, allocations: 0.5829 MB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.3874, allocations: 23.8 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.3874, allocations: 11.94 kB / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3877, allocations: 31.97 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3878, allocations: 43.92 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3878, allocations: 16 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001146/0.3879, allocations: 133.1 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003309/0.3883, allocations: 75.95 kB / 1.296 GB, free: 15.22 MB / 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.0001853/0.3885, allocations: 123.1 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.3893, allocations: 366.7 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3893, allocations: 0 / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.3896, allocations: 169.5 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.39, allocations: 43.91 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3913, allocations: 0.6469 MB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.3919, allocations: 0.7609 MB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.392, allocations: 43.42 kB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.392, allocations: 0 / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of Templates: time 0.007038/0.3991, allocations: 3.991 MB / 1.302 GB, free: 9.051 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/jenkins1/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: 11.465017410984728]