Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.002215/0.002215, allocations: 79.86 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.002503/0.002503, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.545/1.545, allocations: 177.1 MB / 202.8 MB, free: 9.203 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 2.954/2.954, allocations: 389 MB / 0.633 GB, free: 0.9844 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,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") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 0 / 1 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.506e-05, allocations: 6.219 kB / 1 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003689/0.003724, allocations: 1.038 MB / 1.001 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.0069, allocations: 1.131 MB / 1.002 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.007238, allocations: 11.94 kB / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.007382, allocations: 19.73 kB / 1.002 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.007769, allocations: 43.52 kB / 1.002 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.008905, allocations: 163.6 kB / 1.003 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.009595, allocations: 331 kB / 1.003 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.009828, allocations: 36.56 kB / 1.003 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/0.01048, allocations: 199.6 kB / 1.003 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.01083, allocations: 119.7 kB / 1.003 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.01094, allocations: 28 kB / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.01107, allocations: 36 kB / 1.003 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.01119, allocations: 79.7 kB / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.01139, allocations: 103.8 kB / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.01206, allocations: 338.9 kB / 1.004 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.01207, allocations: 0 / 1.004 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/0.01207, allocations: 0 / 1.004 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.01209, allocations: 3.984 kB / 1.004 GB, free: 2.461 MB / 0.9044 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.002001/0.01409, allocations: 0.556 MB / 1.004 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.01414, allocations: 8.031 kB / 1.004 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.01471, allocations: 60.72 kB / 1.004 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.01495, allocations: 146.3 kB / 1.005 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/0.01555, allocations: 0.4918 MB / 1.005 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.01565, allocations: 28.38 kB / 1.005 GB, free: 1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.01652, allocations: 259.1 kB / 1.005 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.01655, allocations: 4.125 kB / 1.005 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.0166, allocations: 12.36 kB / 1.005 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.01662, allocations: 8.125 kB / 1.005 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/0.01737, allocations: 184.4 kB / 1.005 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.01907, allocations: 0.6408 MB / 1.006 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.01992, allocations: 203.6 kB / 1.006 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.0204, allocations: 126.5 kB / 1.006 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.02046, allocations: 7.984 kB / 1.006 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009097/0.02137, allocations: 316.3 kB / 1.007 GB, free: 15.15 MB / 0.92 GB Notification: Performance of pre-optimization done (n=48): time 3.016e-06/0.02137, allocations: 0 / 1.007 GB, free: 15.15 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.001738/0.02311, allocations: 489.3 kB / 1.007 GB, free: 14.67 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.02325, allocations: 119.2 kB / 1.007 GB, free: 14.53 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.02352, allocations: 180 kB / 1.007 GB, free: 14.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/0.0236, allocations: 41.7 kB / 1.007 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.02373, allocations: 121.3 kB / 1.008 GB, free: 14.17 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.02395, allocations: 158.7 kB / 1.008 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.02422, allocations: 106.3 kB / 1.008 GB, free: 13.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002448/0.02447, allocations: 338.8 kB / 1.008 GB, free: 13.56 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.02501, allocations: 145.2 kB / 1.008 GB, free: 13.42 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.02569, allocations: 256.7 kB / 1.009 GB, free: 13.13 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.02688, allocations: 398.1 kB / 1.009 GB, free: 12.71 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/0.02689, allocations: 0 / 1.009 GB, free: 12.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00158/0.02847, allocations: 493.7 kB / 1.009 GB, free: 12.22 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.02849, allocations: 7.938 kB / 1.009 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.02851, allocations: 4 kB / 1.009 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.02854, allocations: 4 kB / 1.009 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.0292, allocations: 99.83 kB / 1.01 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.02922, allocations: 7.938 kB / 1.01 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.0297, allocations: 59.75 kB / 1.01 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.02976, allocations: 23.98 kB / 1.01 GB, free: 12.02 MB / 0.92 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.0002954/0.03006, allocations: 160.2 kB / 1.01 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03016, allocations: 27.81 kB / 1.01 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.03027, allocations: 37.95 kB / 1.01 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.03028, allocations: 8 kB / 1.01 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.03029, allocations: 0 / 1.01 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.0303, allocations: 3.938 kB / 1.01 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.03081, allocations: 237.1 kB / 1.01 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.03082, allocations: 0 / 1.01 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/0.03151, allocations: 75.89 kB / 1.01 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.03151, allocations: 0 / 1.01 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.03157, allocations: 15.98 kB / 1.01 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.03157, allocations: 3.938 kB / 1.01 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.03158, allocations: 7.938 kB / 1.01 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.03344, allocations: 0.5839 MB / 1.011 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.03351, allocations: 35.75 kB / 1.011 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.03358, allocations: 11.98 kB / 1.011 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.03391, allocations: 31.97 kB / 1.011 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.03413, allocations: 59.78 kB / 1.011 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.03418, allocations: 20 kB / 1.011 GB, free: 10.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001634/0.03435, allocations: 132 kB / 1.011 GB, free: 10.53 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03435, allocations: 0 / 1.011 GB, free: 10.53 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006358/0.03498, allocations: 83.94 kB / 1.011 GB, free: 10.45 MB / 0.92 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.000251/0.03523, allocations: 116.2 kB / 1.011 GB, free: 10.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.03657, allocations: 363.1 kB / 1.012 GB, free: 9.969 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.03657, allocations: 0 / 1.012 GB, free: 9.969 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.03725, allocations: 180.6 kB / 1.012 GB, free: 9.793 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.03782, allocations: 35.98 kB / 1.012 GB, free: 9.758 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.03975, allocations: 0.5721 MB / 1.012 GB, free: 9.152 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.04, allocations: 152.2 kB / 1.012 GB, free: 8.98 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.04025, allocations: 43.22 kB / 1.013 GB, free: 8.941 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.04044, allocations: 40.5 kB / 1.013 GB, free: 8.902 MB / 0.92 GB Notification: Performance of SimCode: time 6.91e-07/0.04044, allocations: 0 / 1.013 GB, free: 8.902 MB / 0.92 GB Notification: Performance of Templates: time 0.0142/0.05464, allocations: 4.012 MB / 1.016 GB, free: 4.949 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.698443297296762]