Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001392/0.001392, allocations: 161 kB / 23.82 MB, free: 0.7539 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.904/0.904, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.778/1.778, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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,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") 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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.058e-05, allocations: 4.844 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001836/0.001857, allocations: 1.075 MB / 0.7882 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002892, allocations: 1.166 MB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.002955, allocations: 4 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.002994, allocations: 15.75 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.003085, allocations: 40.59 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.003462, allocations: 157.2 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.003691, allocations: 335 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.003811, allocations: 36.52 kB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.004304, allocations: 201.1 kB / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.004436, allocations: 115.7 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.004473, allocations: 32 kB / 0.7903 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.004532, allocations: 37.03 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.00458, allocations: 79.7 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.681e-05/0.004647, allocations: 95.78 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.004863, allocations: 239.7 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004865, allocations: 0.5312 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004866, allocations: 0 / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004869, allocations: 1.188 kB / 0.7907 GB, free: 8.785 MB / 0.7448 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.0007393/0.005609, allocations: 0.6561 MB / 0.7913 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.005643, allocations: 8.031 kB / 0.7913 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.005845, allocations: 76.72 kB / 0.7914 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.005944, allocations: 145.9 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.006146, allocations: 499.7 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.006189, allocations: 32.84 kB / 0.7921 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.006476, allocations: 230 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.00649, allocations: 4.188 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.00651, allocations: 8.375 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.006519, allocations: 7.938 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.006674, allocations: 104.4 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.007349, allocations: 0.7675 MB / 0.7932 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.007605, allocations: 170.3 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.007708, allocations: 90.97 kB / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.007741, allocations: 21.34 kB / 0.7934 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.008001, allocations: 262.5 kB / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.673e-06/0.008003, allocations: 1.75 kB / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.000506/0.008509, allocations: 376.1 kB / 0.794 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.008559, allocations: 118.7 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.008674, allocations: 230.7 kB / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.008703, allocations: 41.7 kB / 0.7944 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.008768, allocations: 177.5 kB / 0.7946 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.008853, allocations: 150.8 kB / 0.7947 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.008949, allocations: 108 kB / 0.7948 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.009081, allocations: 0.5118 MB / 0.7953 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.009209, allocations: 86.53 kB / 0.7954 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.009387, allocations: 226.7 kB / 0.7956 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.009685, allocations: 328 kB / 0.7959 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009688, allocations: 3.062 kB / 0.7959 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004232/0.01011, allocations: 405.3 kB / 0.7963 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.01013, allocations: 9.562 kB / 0.7963 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01013, allocations: 4 kB / 0.7963 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01015, allocations: 4 kB / 0.7963 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.01036, allocations: 95.89 kB / 0.7964 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.01037, allocations: 15.92 kB / 0.7965 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01049, allocations: 48.27 kB / 0.7965 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.01051, allocations: 29.86 kB / 0.7965 GB, free: 2.332 MB / 0.7448 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.0001127/0.01062, allocations: 198.4 kB / 0.7967 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.01067, allocations: 46.38 kB / 0.7968 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.0107, allocations: 33.95 kB / 0.7968 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01071, allocations: 4 kB / 0.7968 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01071, allocations: 3.938 kB / 0.7968 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.01072, allocations: 7.984 kB / 0.7968 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.01118, allocations: 224.4 kB / 0.797 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01118, allocations: 4 kB / 0.797 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.01138, allocations: 68.75 kB / 0.7971 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01138, allocations: 4 kB / 0.7971 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.01141, allocations: 16.83 kB / 0.7971 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01141, allocations: 3.938 kB / 0.7971 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01141, allocations: 5.281 kB / 0.7971 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.01191, allocations: 462.8 kB / 0.7976 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.01192, allocations: 27.75 kB / 0.7976 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01195, allocations: 8.844 kB / 0.7976 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.01205, allocations: 33.03 kB / 0.7976 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.01215, allocations: 79.75 kB / 0.7977 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.01217, allocations: 20.44 kB / 0.7977 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.01223, allocations: 162.8 kB / 0.7979 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01223, allocations: 0 / 0.7979 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000213/0.01245, allocations: 80 kB / 0.798 GB, free: 0.8086 MB / 0.7448 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.549e-05/0.01253, allocations: 113.2 kB / 0.7981 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.01287, allocations: 284.8 kB / 0.7983 GB, free: 424 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01287, allocations: 0 / 0.7983 GB, free: 424 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.01303, allocations: 134.2 kB / 0.7985 GB, free: 284 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01325, allocations: 53.47 kB / 0.7985 GB, free: 232 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.0141, allocations: 0.5802 MB / 0.7991 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.01415, allocations: 97.61 kB / 0.7992 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.195e-05/0.01425, allocations: 40.03 kB / 0.7992 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.01433, allocations: 40.48 kB / 0.7992 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of SimCode: time 7.71e-07/0.01433, allocations: 0 / 0.7992 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of Templates: time 0.0056/0.01994, allocations: 4.254 MB / 0.8034 GB, free: 11.23 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.969130476005375]