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.001538/0.001538, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00177/0.00177, allocations: 221.8 kB / 23 MB, free: 4.914 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.79/2.79, allocations: 476 MB / 0.7707 GB, free: 4.746 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_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.00229/0.00229, allocations: 66.27 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4043, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003568/0.4079, allocations: 1.929 MB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4092, allocations: 0.6991 MB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.4093, allocations: 0 / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.09e-05/0.4094, allocations: 27.61 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.4095, allocations: 39.58 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.41, allocations: 171.7 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.4104, allocations: 339 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.4106, allocations: 36.86 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.4108, allocations: 139.6 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.411, allocations: 139.3 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.4111, allocations: 28 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.4112, allocations: 35.98 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.256e-05/0.4112, allocations: 75.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.4114, allocations: 115.5 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.4117, allocations: 318.7 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4117, allocations: 0 / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4117, allocations: 4 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4118, allocations: 0 / 1.288 GB, free: 7.836 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.001283/0.413, allocations: 0.5637 MB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4131, allocations: 8.031 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.4134, allocations: 56.77 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.4138, allocations: 190.1 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/0.4142, allocations: 499.6 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.4142, allocations: 28.36 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.4148, allocations: 261.9 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.4148, allocations: 15.88 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.4148, allocations: 7.938 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4148, allocations: 8 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.4152, allocations: 175.8 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.4163, allocations: 0.6604 MB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.4168, allocations: 199.7 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.4171, allocations: 122.5 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.4171, allocations: 15.94 kB / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005326/0.4176, allocations: 299.7 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.624e-06/0.4177, allocations: 0 / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.00109/0.4187, allocations: 496.5 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/0.4188, allocations: 122.7 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.419, allocations: 180.8 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4191, allocations: 37.7 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.4192, allocations: 121.3 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.4193, allocations: 158.8 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.4195, allocations: 106.3 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4196, allocations: 338.8 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.42, allocations: 149.2 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.4203, allocations: 260.7 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.421, allocations: 390.1 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.421, allocations: 0 / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008748/0.4219, allocations: 497.1 kB / 1.294 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4219, allocations: 15.88 kB / 1.294 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4219, allocations: 4 kB / 1.294 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.422, allocations: 8 kB / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.4223, allocations: 91.83 kB / 1.294 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.4224, allocations: 12.64 kB / 1.294 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.4226, allocations: 63.69 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.4227, allocations: 20 kB / 1.294 GB, free: 1.34 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.0001886/0.4229, allocations: 163.4 kB / 1.294 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.4229, allocations: 31.75 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.423, allocations: 37.95 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.423, allocations: 4 kB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.423, allocations: 0 / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.423, allocations: 7.984 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.4233, allocations: 229.1 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4233, allocations: 4 kB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.4237, allocations: 79.83 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4237, allocations: 4 kB / 1.294 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.4238, allocations: 11.94 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4238, allocations: 4 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4238, allocations: 0 / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4249, allocations: 0.5822 MB / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.4249, allocations: 35.67 kB / 1.295 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.425, allocations: 15.94 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4252, allocations: 31.97 kB / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4253, allocations: 47.92 kB / 1.295 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.4254, allocations: 12.05 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001119/0.4255, allocations: 132.2 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4255, allocations: 0 / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003196/0.4258, allocations: 76 kB / 1.295 GB, free: 15.79 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.0001802/0.426, allocations: 124.6 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007338/0.4267, allocations: 359 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4267, allocations: 0 / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.4271, allocations: 171.2 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.4274, allocations: 52.09 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4286, allocations: 0.6627 MB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.4288, allocations: 156.2 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4289, allocations: 39.44 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.4289, allocations: 0 / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.006901/0.4358, allocations: 4.149 MB / 1.301 GB, free: 10.05 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/jenkins1/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] "" Variables in the reference:time,sinInpNoDel.y,movAve1.y,movAve2.y,movAve3.y,movAve4.y,sinInp50sDel.y,movAve6.y,movAve7.y,sinInp100sDel.y,movAve8.y,movAve9.y Variables in the result:movAve1.y,movAve2.y,movAve3.y,movAve4.y,movAve6.y,movAve7.y,movAve8.y,movAve9.y,sinInp100sDel.y,sinInp50sDel.y,sinInpNoDel.y,time [Calling sys.exit(0), Time elapsed: 11.505295586772263]