Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 113.8 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.88 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3005, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003394/0.3039, allocations: 1.986 MB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.305, allocations: 0.6552 MB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.305, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.3051, allocations: 15.75 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3052, allocations: 43.58 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.3057, allocations: 147.7 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.306, allocations: 327.1 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3062, allocations: 40.38 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3064, allocations: 123.7 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.3066, allocations: 155.3 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.3067, allocations: 28 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.3067, allocations: 28 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.3068, allocations: 83.77 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3069, allocations: 131.4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3073, allocations: 314.7 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3073, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3073, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3073, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 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.001295/0.3086, allocations: 0.639 MB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3086, allocations: 8.031 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.3087, allocations: 32.8 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3089, allocations: 192.9 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.3091, allocations: 268.3 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.3092, allocations: 32.33 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.3097, allocations: 257.9 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3097, allocations: 11.94 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.3098, allocations: 4 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3098, allocations: 4 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.3102, allocations: 179.8 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3114, allocations: 0.7776 MB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.3119, allocations: 207.6 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.3122, allocations: 130.5 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.3122, allocations: 7.984 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/0.3128, allocations: 316 kB / 1.221 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.3128, allocations: 0 / 1.221 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.001102/0.3139, allocations: 487.9 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.314, allocations: 118.8 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3142, allocations: 179.5 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.3142, allocations: 41.7 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.3143, allocations: 125.3 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.3145, allocations: 150.8 kB / 1.222 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3146, allocations: 102.3 kB / 1.222 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.3148, allocations: 342.8 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.3151, allocations: 145.2 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.3155, allocations: 260.7 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.3162, allocations: 402 kB / 1.223 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3162, allocations: 0 / 1.223 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009249/0.3171, allocations: 0.4894 MB / 1.224 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3172, allocations: 8 kB / 1.224 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3172, allocations: 0 / 1.224 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.3172, allocations: 12 kB / 1.224 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.3176, allocations: 95.81 kB / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.3176, allocations: 8 kB / 1.224 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.3179, allocations: 51.75 kB / 1.224 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3179, allocations: 20 kB / 1.224 GB, free: 6.387 MB / 0.9669 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.000182/0.3181, allocations: 167.4 kB / 1.224 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.3182, allocations: 35.75 kB / 1.224 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.704e-05/0.3183, allocations: 29.88 kB / 1.224 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3183, allocations: 7.938 kB / 1.224 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3183, allocations: 0 / 1.224 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3183, allocations: 7.984 kB / 1.224 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.3187, allocations: 349.3 kB / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3187, allocations: 4 kB / 1.225 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.3191, allocations: 75.84 kB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3191, allocations: 3.984 kB / 1.225 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.3191, allocations: 12 kB / 1.225 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3191, allocations: 4 kB / 1.225 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3191, allocations: 3.938 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3203, allocations: 0.5862 MB / 1.225 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3204, allocations: 108.8 kB / 1.225 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.3204, allocations: 11.98 kB / 1.225 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3207, allocations: 31.97 kB / 1.225 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3208, allocations: 35.95 kB / 1.225 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.3208, allocations: 20.08 kB / 1.225 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.764e-05/0.3209, allocations: 125.2 kB / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3209, allocations: 4 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003194/0.3212, allocations: 83.98 kB / 1.226 GB, free: 4.59 MB / 0.9669 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.0001842/0.3214, allocations: 123.9 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.3222, allocations: 356.3 kB / 1.226 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3222, allocations: 4 kB / 1.226 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.3225, allocations: 179.7 kB / 1.226 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3229, allocations: 45.97 kB / 1.226 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.324, allocations: 0.6506 MB / 1.227 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3244, allocations: 0.7727 MB / 1.228 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3246, allocations: 35.44 kB / 1.228 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3246, allocations: 3.938 kB / 1.228 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of Templates: time 0.00649/0.3311, allocations: 3.994 MB / 1.232 GB, free: 14.4 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.67039995198138]