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.001764/0.001764, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002176/0.002176, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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 1.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.796/2.796, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.246e-06/3.246e-06, allocations: 0.7656 kB / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.384e-05, allocations: 3.375 kB / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003558/0.003591, allocations: 1.933 MB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.005037, allocations: 0.7013 MB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.005139, allocations: 4 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.342e-05/0.005202, allocations: 23.67 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.005345, allocations: 45.23 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.005919, allocations: 189.9 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.006372, allocations: 339 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.006526, allocations: 28.92 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.006927, allocations: 199.6 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.007197, allocations: 115.6 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.00727, allocations: 33.84 kB / 0.79 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.00738, allocations: 36 kB / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.007482, allocations: 75.77 kB / 0.7901 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.007643, allocations: 103.7 kB / 0.7902 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.008216, allocations: 342.9 kB / 0.7905 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.008225, allocations: 0.5312 kB / 0.7905 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.234e-06/0.008228, allocations: 1.469 kB / 0.7905 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.008235, allocations: 0 / 0.7905 GB, free: 8.586 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.001469/0.009704, allocations: 0.5626 MB / 0.791 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.009749, allocations: 9.969 kB / 0.7911 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.01016, allocations: 76.77 kB / 0.7911 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.01058, allocations: 199.9 kB / 0.7913 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004628/0.01104, allocations: 495.7 kB / 0.7918 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.01112, allocations: 28.38 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.01168, allocations: 263.1 kB / 0.7921 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.0117, allocations: 192 / 0.7921 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.01174, allocations: 16.11 kB / 0.7921 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.01175, allocations: 4.719 kB / 0.7921 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.01222, allocations: 178 kB / 0.7923 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01347, allocations: 0.6563 MB / 0.7929 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.01403, allocations: 193.7 kB / 0.7931 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.01431, allocations: 126.5 kB / 0.7932 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.01437, allocations: 17.08 kB / 0.7932 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/0.01496, allocations: 305.6 kB / 0.7935 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.01496, allocations: 0 / 0.7935 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.001217/0.01618, allocations: 0.4931 MB / 0.794 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.01629, allocations: 127.5 kB / 0.7941 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.0165, allocations: 184.9 kB / 0.7943 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.01655, allocations: 38.98 kB / 0.7943 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01666, allocations: 117.3 kB / 0.7944 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.01684, allocations: 158.8 kB / 0.7946 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.01701, allocations: 103.2 kB / 0.7947 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.01722, allocations: 346.8 kB / 0.795 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.01756, allocations: 146.4 kB / 0.7952 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.01801, allocations: 256.7 kB / 0.7954 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.01875, allocations: 395.4 kB / 0.7958 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.01876, allocations: 1.5 kB / 0.7958 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001002/0.01976, allocations: 0.5051 MB / 0.7963 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.01978, allocations: 10.84 kB / 0.7963 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.0198, allocations: 7.984 kB / 0.7963 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.01982, allocations: 4 kB / 0.7963 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.02024, allocations: 103.8 kB / 0.7964 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.02026, allocations: 4 kB / 0.7964 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.02055, allocations: 56.2 kB / 0.7965 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.02059, allocations: 20 kB / 0.7965 GB, free: 2.066 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.0002296/0.02082, allocations: 169.5 kB / 0.7966 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.0209, allocations: 35.86 kB / 0.7967 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.02098, allocations: 39.05 kB / 0.7967 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.02099, allocations: 4 kB / 0.7967 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.021, allocations: 3.938 kB / 0.7967 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.02101, allocations: 4.656 kB / 0.7967 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.02136, allocations: 248.9 kB / 0.797 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.02136, allocations: 4.688 kB / 0.797 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.02179, allocations: 74.73 kB / 0.797 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.02179, allocations: 0 / 0.797 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.02183, allocations: 12 kB / 0.797 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.02184, allocations: 4 kB / 0.797 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02184, allocations: 0 / 0.797 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.0231, allocations: 0.6092 MB / 0.7976 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.02315, allocations: 31.73 kB / 0.7977 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.0232, allocations: 8 kB / 0.7977 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.02344, allocations: 36.03 kB / 0.7977 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.02361, allocations: 60.78 kB / 0.7978 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.02364, allocations: 15.98 kB / 0.7978 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001265/0.02377, allocations: 133.4 kB / 0.7979 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02377, allocations: 0 / 0.7979 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003553/0.02412, allocations: 79.98 kB / 0.798 GB, free: 476 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.000205/0.02433, allocations: 117.6 kB / 0.7981 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00083/0.02516, allocations: 362.4 kB / 0.7985 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02516, allocations: 0 / 0.7985 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.02557, allocations: 181.7 kB / 0.7986 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.02595, allocations: 53.84 kB / 0.7987 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.02724, allocations: 0.5943 MB / 0.7993 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.02755, allocations: 164.1 kB / 0.7994 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.02771, allocations: 39.23 kB / 0.7994 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.02785, allocations: 44.48 kB / 0.7995 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of SimCode: time 5.92e-07/0.02785, allocations: 0 / 0.7995 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of Templates: time 0.009537/0.03739, allocations: 4.041 MB / 0.8034 GB, free: 10.89 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.030031929956749]