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.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.002052/0.002052, 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.002363/0.002363, allocations: 210 kB / 22.24 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 7.82 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.038/3.038, allocations: 476 MB / 0.7699 GB, free: 4.781 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_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: 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.002185/0.002185, allocations: 67.11 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3882, allocations: 169.9 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003591/0.3918, allocations: 1.918 MB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3932, allocations: 0.6952 MB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.3933, allocations: 4 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.772e-05/0.3934, allocations: 31.61 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3935, allocations: 35.59 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.394, allocations: 175.6 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3945, allocations: 331.1 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3946, allocations: 40.84 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.3949, allocations: 135.6 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.3951, allocations: 139.3 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.3952, allocations: 32 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.3952, allocations: 35.98 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.3953, allocations: 75.8 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3955, allocations: 119.5 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.3959, allocations: 314.8 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3959, allocations: 3.984 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3959, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3959, allocations: 3.938 kB / 1.287 GB, free: 7.848 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.001333/0.3972, allocations: 0.5637 MB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3972, allocations: 11.97 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.3976, allocations: 56.77 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.398, allocations: 190.1 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.3984, allocations: 495.6 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.3984, allocations: 32.36 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.399, allocations: 257.9 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.399, allocations: 7.891 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.399, allocations: 19.92 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.399, allocations: 4 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.3995, allocations: 175.9 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.4006, allocations: 0.6565 MB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.4011, allocations: 195.7 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.4014, allocations: 138.5 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.4014, allocations: 8 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005521/0.402, allocations: 303.7 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.402, allocations: 0 / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001102/0.4031, allocations: 493 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.4032, allocations: 126.7 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.4033, allocations: 180.8 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.4034, allocations: 41.7 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4035, allocations: 117.3 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.4037, allocations: 162.7 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.4038, allocations: 98.34 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.404, allocations: 342.8 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.4043, allocations: 149.2 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.4047, allocations: 252.8 kB / 1.292 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.4054, allocations: 398.1 kB / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4054, allocations: 0 / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008714/0.4063, allocations: 489.2 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4063, allocations: 11.88 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4063, allocations: 4 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.4063, allocations: 7.938 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.4067, allocations: 103.8 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4067, allocations: 4 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.407, allocations: 59.7 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.407, allocations: 23.98 kB / 1.293 GB, free: 1.355 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.0001899/0.4072, allocations: 159.4 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.4073, allocations: 31.75 kB / 1.293 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.4074, allocations: 41.89 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4074, allocations: 8 kB / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.4074, allocations: 0 / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.4074, allocations: 0 / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.4077, allocations: 237.1 kB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4077, allocations: 0 / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.4081, allocations: 75.97 kB / 1.293 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.4081, allocations: 7.984 kB / 1.294 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.4081, allocations: 15.94 kB / 1.294 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4082, allocations: 4 kB / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4082, allocations: 96 / 1.294 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4093, allocations: 0.5939 MB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.4093, allocations: 31.69 kB / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.4094, allocations: 15.92 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.4096, allocations: 31.97 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.4097, allocations: 55.95 kB / 1.294 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4098, allocations: 23.94 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001166/0.4099, allocations: 128.3 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4099, allocations: 96 / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003184/0.4102, allocations: 79.94 kB / 1.294 GB, free: 15.77 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.000198/0.4104, allocations: 120.2 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007912/0.4112, allocations: 356.2 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4112, allocations: 4 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.4116, allocations: 179.7 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.4119, allocations: 39.97 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.4132, allocations: 0.6447 MB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.4134, allocations: 160.2 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000162/0.4135, allocations: 38.95 kB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.4136, allocations: 39.62 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.4136, allocations: 0 / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of Templates: time 0.009325/0.423, allocations: 4.24 MB / 1.3 GB, free: 9.98 MB / 0.9981 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.070543142035604]