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.001599/0.001599, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001931/0.001931, allocations: 170 kB / 22.46 MB, free: 5.359 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.548/1.548, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.793/2.793, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.954e-05, allocations: 4.812 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002193/0.002223, allocations: 1.037 MB / 0.9521 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.004014, allocations: 1.132 MB / 0.9532 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.004116, allocations: 0 / 0.9532 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.00417, allocations: 23.73 kB / 0.9532 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.004288, allocations: 43.52 kB / 0.9532 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.004829, allocations: 163.6 kB / 0.9534 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.005204, allocations: 331 kB / 0.9537 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.005358, allocations: 36.56 kB / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.00567, allocations: 195.7 kB / 0.9539 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.005902, allocations: 123.6 kB / 0.954 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.005963, allocations: 28 kB / 0.9541 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-05/0.006047, allocations: 32 kB / 0.9541 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.006132, allocations: 79.77 kB / 0.9542 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.006322, allocations: 99.72 kB / 0.9543 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.006733, allocations: 343 kB / 0.9546 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006736, allocations: 0 / 0.9546 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.006737, allocations: 0 / 0.9546 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.006749, allocations: 0 / 0.9546 GB, free: 7.875 MB / 0.8575 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.001495/0.008243, allocations: 0.5656 MB / 0.9551 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.008282, allocations: 8.031 kB / 0.9552 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.008626, allocations: 64.77 kB / 0.9552 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.008832, allocations: 142.2 kB / 0.9553 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/0.009221, allocations: 0.4919 MB / 0.9558 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.009279, allocations: 32.33 kB / 0.9559 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.009846, allocations: 255.1 kB / 0.9561 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.009866, allocations: 4.188 kB / 0.9561 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.009896, allocations: 8.375 kB / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.009905, allocations: 8.125 kB / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.01035, allocations: 175.8 kB / 0.9563 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01155, allocations: 0.6564 MB / 0.9569 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.01223, allocations: 195.7 kB / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.01254, allocations: 130.4 kB / 0.9572 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.0126, allocations: 19.94 kB / 0.9573 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007877/0.01338, allocations: 304.2 kB / 0.9576 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 2.695e-06/0.01339, allocations: 0 / 0.9576 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.001438/0.01482, allocations: 494.1 kB / 0.958 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.01498, allocations: 111.2 kB / 0.9581 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.01528, allocations: 183.5 kB / 0.9583 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.01535, allocations: 37.7 kB / 0.9583 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.0155, allocations: 117.3 kB / 0.9585 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.01569, allocations: 162.7 kB / 0.9586 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.0159, allocations: 102.3 kB / 0.9587 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002401/0.01614, allocations: 342.8 kB / 0.959 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.01649, allocations: 145.2 kB / 0.9592 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.01698, allocations: 256.7 kB / 0.9594 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.0178, allocations: 398.1 kB / 0.9598 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01781, allocations: 0 / 0.9598 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001037/0.01884, allocations: 493.4 kB / 0.9603 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.01886, allocations: 4 kB / 0.9603 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.01888, allocations: 7.984 kB / 0.9603 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.0189, allocations: 8 kB / 0.9603 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.01931, allocations: 91.83 kB / 0.9604 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.01933, allocations: 15.88 kB / 0.9604 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.01962, allocations: 59.7 kB / 0.9604 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.01966, allocations: 20 kB / 0.9605 GB, free: 1.426 MB / 0.8575 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.0001944/0.01985, allocations: 161.9 kB / 0.9606 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.0199, allocations: 23.86 kB / 0.9606 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.01998, allocations: 29.97 kB / 0.9607 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.01999, allocations: 11.98 kB / 0.9607 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.01999, allocations: 4 kB / 0.9607 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.02, allocations: 3.938 kB / 0.9607 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.02033, allocations: 241 kB / 0.9609 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02033, allocations: 0 / 0.9609 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.02074, allocations: 75.89 kB / 0.961 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.02075, allocations: 4 kB / 0.961 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.02079, allocations: 15.98 kB / 0.961 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.02079, allocations: 4 kB / 0.961 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.02079, allocations: 0 / 0.961 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.02206, allocations: 0.5886 MB / 0.9616 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.02211, allocations: 27.94 kB / 0.9616 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.02217, allocations: 12.09 kB / 0.9616 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.02241, allocations: 35.89 kB / 0.9617 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.02259, allocations: 67.83 kB / 0.9617 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.02262, allocations: 8 kB / 0.9617 GB, free: 68 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001629/0.02278, allocations: 141.1 kB / 0.9619 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.02278, allocations: 0 / 0.9619 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003644/0.02315, allocations: 75.94 kB / 0.9619 GB, free: 15.86 MB / 0.8731 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.0002322/0.02338, allocations: 115.3 kB / 0.962 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007959/0.02418, allocations: 368.7 kB / 0.9624 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02418, allocations: 4 kB / 0.9624 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.02457, allocations: 184 kB / 0.9626 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.02491, allocations: 42.22 kB / 0.9626 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.02614, allocations: 0.5718 MB / 0.9632 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.02628, allocations: 148.2 kB / 0.9633 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.02643, allocations: 42.95 kB / 0.9634 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.02656, allocations: 36.5 kB / 0.9634 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.02656, allocations: 4 kB / 0.9634 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.009849/0.03641, allocations: 4.009 MB / 0.9673 GB, free: 10.37 MB / 0.8731 GB " [Timeout remaining time 300] 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: 8.485740050673485]