Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001125/0.001125, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001154/0.001154, allocations: 161 kB / 23.82 MB, free: 0.75 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.9432/0.9432, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.869/1.869, allocations: 359 MB / 0.6052 GB, free: 10.99 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_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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.757e-06/3.757e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.446e-05, allocations: 5.125 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003403/0.003437, allocations: 1.998 MB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004669, allocations: 0.7244 MB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.004779, allocations: 0 / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.186e-05/0.004841, allocations: 19.69 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.00499, allocations: 52.94 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.005553, allocations: 180.8 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.005921, allocations: 331 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.006105, allocations: 41.53 kB / 0.7904 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.006413, allocations: 197 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.006565, allocations: 123.7 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.006606, allocations: 31.94 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.006666, allocations: 32 kB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.006712, allocations: 80.67 kB / 0.7909 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.006795, allocations: 99.78 kB / 0.791 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.007044, allocations: 240 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.007048, allocations: 0 / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.001e-06/0.007049, allocations: 0 / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.007057, allocations: 1.031 kB / 0.7912 GB, free: 8.266 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.0008307/0.007887, allocations: 0.6592 MB / 0.7918 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.00793, allocations: 13.62 kB / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.008177, allocations: 72.77 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.008429, allocations: 193.4 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.008683, allocations: 499.7 kB / 0.7926 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.008735, allocations: 28.38 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.009075, allocations: 239.2 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.009095, allocations: 8.141 kB / 0.7929 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.009118, allocations: 12.12 kB / 0.7929 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.009128, allocations: 4 kB / 0.7929 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.009303, allocations: 95.86 kB / 0.793 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.01007, allocations: 0.775 MB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.01037, allocations: 169.8 kB / 0.7939 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.01052, allocations: 94.95 kB / 0.794 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.01055, allocations: 12.52 kB / 0.794 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.01084, allocations: 267.6 kB / 0.7942 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.886e-06/0.01084, allocations: 4 kB / 0.7942 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.000552/0.01139, allocations: 372.8 kB / 0.7946 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.01145, allocations: 122.7 kB / 0.7947 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.01158, allocations: 241.9 kB / 0.7949 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.01161, allocations: 37.7 kB / 0.795 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.01167, allocations: 164.1 kB / 0.7951 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.01176, allocations: 150.8 kB / 0.7953 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01187, allocations: 113.1 kB / 0.7954 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.012, allocations: 0.5157 MB / 0.7959 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.01214, allocations: 77.27 kB / 0.796 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.01232, allocations: 235.7 kB / 0.7962 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.01263, allocations: 320 kB / 0.7965 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01263, allocations: 1.75 kB / 0.7965 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000457/0.01309, allocations: 409.3 kB / 0.7969 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01311, allocations: 4 kB / 0.7969 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01312, allocations: 4 kB / 0.7969 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01313, allocations: 4 kB / 0.7969 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.01336, allocations: 96.36 kB / 0.797 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.01337, allocations: 15.38 kB / 0.797 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.0135, allocations: 59.7 kB / 0.7971 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.01353, allocations: 20 kB / 0.7971 GB, free: 1.762 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.0001245/0.01365, allocations: 198.4 kB / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.01379, allocations: 43.86 kB / 0.7973 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.01384, allocations: 34.45 kB / 0.7973 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.01384, allocations: 4 kB / 0.7973 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.01385, allocations: 8.5 kB / 0.7974 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01386, allocations: 1.5 kB / 0.7974 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.01407, allocations: 236.3 kB / 0.7976 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01407, allocations: 0 / 0.7976 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.01429, allocations: 71.91 kB / 0.7977 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01429, allocations: 0.5312 kB / 0.7977 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.01432, allocations: 13.67 kB / 0.7977 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01432, allocations: 4.062 kB / 0.7977 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.01432, allocations: 4 kB / 0.7977 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.01488, allocations: 482.7 kB / 0.7981 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.01491, allocations: 28.75 kB / 0.7982 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.01494, allocations: 8 kB / 0.7982 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01505, allocations: 37.3 kB / 0.7982 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.01516, allocations: 71.83 kB / 0.7983 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.01518, allocations: 12.94 kB / 0.7983 GB, free: 476 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.862e-05/0.01526, allocations: 172 kB / 0.7984 GB, free: 304 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01526, allocations: 0 / 0.7984 GB, free: 304 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002541/0.01551, allocations: 81.34 kB / 0.7985 GB, free: 224 kB / 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 0.0001679/0.01568, allocations: 126.2 kB / 0.7986 GB, free: 92 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.0161, allocations: 272.7 kB / 0.7989 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0161, allocations: 4 kB / 0.7989 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.01627, allocations: 146.1 kB / 0.7991 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.01652, allocations: 51.41 kB / 0.7991 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.01751, allocations: 0.5728 MB / 0.7997 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.248e-05/0.01757, allocations: 98.45 kB / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.01768, allocations: 42.27 kB / 0.7998 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.01777, allocations: 41.19 kB / 0.7998 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of SimCode: time 1.193e-06/0.01777, allocations: 0.5 kB / 0.7998 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.006409/0.02418, allocations: 4.262 MB / 0.804 GB, free: 10.62 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.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: 5.097202016040683]