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.001868/0.001868, allocations: 80.28 kB / 19.18 MB, free: 2.527 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: 170.4 kB / 22.46 MB, free: 5.355 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.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 3.119/3.119, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.537e-06/3.537e-06, allocations: 0 / 1 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.231e-05/4.585e-05, allocations: 2.281 kB / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004541/0.004587, allocations: 1.927 MB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.006226, allocations: 0.6973 MB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.006411, allocations: 7.938 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.552e-05/0.006487, allocations: 19.73 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.006653, allocations: 43.52 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.00738, allocations: 179.6 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.007959, allocations: 343 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.008149, allocations: 28.92 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.008662, allocations: 207.5 kB / 1.004 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.008915, allocations: 115.6 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.008977, allocations: 32 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.009074, allocations: 36 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.009161, allocations: 75.77 kB / 1.004 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.009302, allocations: 95.78 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.009763, allocations: 346.8 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.009769, allocations: 0 / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.203e-06/0.00977, allocations: 4 kB / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.009782, allocations: 3.938 kB / 1.004 GB, free: 3.059 MB / 0.9512 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.001358/0.01114, allocations: 0.5677 MB / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.01119, allocations: 8.031 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.01153, allocations: 60.75 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.01191, allocations: 189.8 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.01231, allocations: 499.7 kB / 1.006 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.01238, allocations: 28.36 kB / 1.006 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.01291, allocations: 263.1 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.01294, allocations: 12.14 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.01297, allocations: 8.125 kB / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.01298, allocations: 11.94 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.01348, allocations: 175.8 kB / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.01457, allocations: 0.6485 MB / 1.007 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.01509, allocations: 199.7 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.01537, allocations: 126.5 kB / 1.007 GB, free: 44 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.01541, allocations: 4 kB / 1.007 GB, free: 40 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005859/0.01599, allocations: 316.1 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=48): time 2.184e-06/0.01599, allocations: 0 / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.001152/0.01715, allocations: 482 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.01726, allocations: 126.7 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.01745, allocations: 186.8 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.01751, allocations: 37.7 kB / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.01761, allocations: 125.2 kB / 1.008 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.01777, allocations: 154.8 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.01793, allocations: 102.3 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002437/0.01818, allocations: 338.8 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.01854, allocations: 153.2 kB / 1.009 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.01901, allocations: 252.8 kB / 1.009 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.01975, allocations: 402 kB / 1.01 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01976, allocations: 0 / 1.01 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009527/0.02071, allocations: 489.6 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.02073, allocations: 8 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.02074, allocations: 4 kB / 1.01 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.02076, allocations: 4 kB / 1.01 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.02119, allocations: 99.77 kB / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.0212, allocations: 4.156 kB / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.0215, allocations: 59.7 kB / 1.01 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.02154, allocations: 27.97 kB / 1.01 GB, free: 12.57 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.000224/0.02176, allocations: 164.2 kB / 1.01 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.02182, allocations: 23.86 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.02191, allocations: 37.95 kB / 1.01 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.02192, allocations: 4 kB / 1.01 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.02193, allocations: 3.938 kB / 1.01 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.02194, allocations: 0 / 1.01 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.02232, allocations: 249 kB / 1.011 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.02232, allocations: 4 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.02272, allocations: 67.89 kB / 1.011 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.02272, allocations: 11.94 kB / 1.011 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.02276, allocations: 15.94 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.02277, allocations: 4 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02277, allocations: 0 / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.02398, allocations: 0.5848 MB / 1.011 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.02402, allocations: 31.75 kB / 1.011 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.02408, allocations: 15.98 kB / 1.011 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.02431, allocations: 31.97 kB / 1.011 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.02449, allocations: 71.81 kB / 1.011 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.02453, allocations: 19.98 kB / 1.011 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000119/0.02465, allocations: 124.4 kB / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.02465, allocations: 0 / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003405/0.02499, allocations: 80 kB / 1.012 GB, free: 10.98 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.0002025/0.0252, allocations: 123.2 kB / 1.012 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000782/0.02598, allocations: 355.2 kB / 1.012 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02598, allocations: 0 / 1.012 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.02638, allocations: 183.7 kB / 1.012 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.02672, allocations: 47.97 kB / 1.012 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.02793, allocations: 0.569 MB / 1.013 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.0281, allocations: 164.2 kB / 1.013 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.02826, allocations: 46.94 kB / 1.013 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.02839, allocations: 36.5 kB / 1.013 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of SimCode: time 4.3e-07/0.02839, allocations: 0 / 1.013 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of Templates: time 0.00994/0.03833, allocations: 4.01 MB / 1.017 GB, free: 5.449 MB / 0.9669 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.848144605755806]