Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008115/0.0008115, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008257/0.0008257, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8876/0.8876, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.025e-05, allocations: 2.281 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002149/0.002169, allocations: 1.922 MB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.003031, allocations: 0.7011 MB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.003102, allocations: 0 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.073e-05/0.003142, allocations: 23.67 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.003228, allocations: 51.52 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.003602, allocations: 183.5 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.003847, allocations: 331 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.004012, allocations: 40.91 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.004261, allocations: 191.6 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.004408, allocations: 115.7 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.004445, allocations: 32 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.917e-05/0.004514, allocations: 35.98 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.004567, allocations: 75.72 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.004641, allocations: 103.8 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.004951, allocations: 346.8 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004953, allocations: 0 / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.894e-06/0.004955, allocations: 4 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.00496, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 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.000862/0.005822, allocations: 0.556 MB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.00587, allocations: 12.75 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.006078, allocations: 56.77 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.00634, allocations: 190.7 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.006591, allocations: 0.4919 MB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.006637, allocations: 32.31 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.007021, allocations: 259.1 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.007042, allocations: 4.141 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.007066, allocations: 12.12 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.007074, allocations: 4 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.007348, allocations: 191.7 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.008068, allocations: 0.6447 MB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.008423, allocations: 198.2 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.008582, allocations: 130.5 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.008619, allocations: 11.98 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.008952, allocations: 312.1 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 1.864e-06/0.008954, allocations: 0 / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.0006767/0.009631, allocations: 478.5 kB / 1.008 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.009685, allocations: 122.7 kB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.009793, allocations: 195.4 kB / 1.009 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.009818, allocations: 37.7 kB / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.00987, allocations: 121.3 kB / 1.009 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.009957, allocations: 154.8 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.01005, allocations: 106.3 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.01014, allocations: 342.8 kB / 1.009 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.01032, allocations: 145.2 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.01054, allocations: 252.9 kB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.01094, allocations: 406 kB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01094, allocations: 0 / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005081/0.01145, allocations: 489.1 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01146, allocations: 8 kB / 1.011 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01147, allocations: 4 kB / 1.011 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01148, allocations: 7.938 kB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.01167, allocations: 99.77 kB / 1.011 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.01168, allocations: 11.98 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.0118, allocations: 55.7 kB / 1.011 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.01182, allocations: 24 kB / 1.011 GB, free: 2.273 MB / 0.9636 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.0001077/0.01193, allocations: 163.6 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.01196, allocations: 27.84 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.012, allocations: 29.97 kB / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.012, allocations: 8 kB / 1.011 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.01201, allocations: 7.938 kB / 1.011 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01201, allocations: 3.984 kB / 1.011 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.01218, allocations: 241 kB / 1.011 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01219, allocations: 0 / 1.011 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.01239, allocations: 71.89 kB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01239, allocations: 4 kB / 1.011 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01241, allocations: 15.98 kB / 1.011 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01241, allocations: 0 / 1.011 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01241, allocations: 4 kB / 1.011 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.01306, allocations: 0.5955 MB / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.01308, allocations: 27.75 kB / 1.012 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.0131, allocations: 8 kB / 1.012 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.0132, allocations: 43.95 kB / 1.012 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.01327, allocations: 43.81 kB / 1.012 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01329, allocations: 19.98 kB / 1.012 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.01336, allocations: 128.4 kB / 1.012 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01336, allocations: 0 / 1.012 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002001/0.01356, allocations: 80 kB / 1.012 GB, free: 0.6992 MB / 0.9636 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 8.752e-05/0.01365, allocations: 115.3 kB / 1.013 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.01407, allocations: 360.3 kB / 1.013 GB, free: 232 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01407, allocations: 8.188 kB / 1.013 GB, free: 224 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.01427, allocations: 164.7 kB / 1.013 GB, free: 60 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.01448, allocations: 44.7 kB / 1.013 GB, free: 16 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.0152, allocations: 0.6199 MB / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.462e-05/0.01528, allocations: 156.2 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.01538, allocations: 40.5 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of SimCode: time 3.9e-07/0.01538, allocations: 0 / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of Templates: time 0.00414/0.01952, allocations: 4.172 MB / 1.018 GB, free: 10.99 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.697662799619138]