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.001915/0.001915, allocations: 87.69 kB / 20.23 MB, free: 4.18 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.002081/0.002081, allocations: 157.3 kB / 23.54 MB, free: 0.875 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.906/2.906, allocations: 359 MB / 0.6048 GB, free: 10.94 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 2.615e-06/2.615e-06, allocations: 0 / 0.7865 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.243e-05, allocations: 10.91 kB / 0.7865 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003551/0.003584, allocations: 1.948 MB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004986, allocations: 0.7119 MB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.00508, allocations: 4 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.005133, allocations: 24.92 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.005275, allocations: 44.98 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.005799, allocations: 179.6 kB / 0.7893 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.006481, allocations: 336.1 kB / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.006626, allocations: 32.92 kB / 0.7897 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.006977, allocations: 195.6 kB / 0.7899 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.007196, allocations: 124.2 kB / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.007257, allocations: 33.41 kB / 0.79 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.007341, allocations: 32 kB / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.007432, allocations: 79.7 kB / 0.7901 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.007561, allocations: 100.7 kB / 0.7902 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.00803, allocations: 346.9 kB / 0.7905 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.008034, allocations: 0 / 0.7905 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008035, allocations: 1.125 kB / 0.7905 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.008041, allocations: 0 / 0.7905 GB, free: 8.52 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.001407/0.009448, allocations: 0.6714 MB / 0.7912 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.009491, allocations: 8.031 kB / 0.7912 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.009853, allocations: 77.48 kB / 0.7913 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.01019, allocations: 189.9 kB / 0.7915 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/0.01063, allocations: 0.4958 MB / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.01069, allocations: 28.38 kB / 0.792 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.01122, allocations: 267.5 kB / 0.7922 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.01124, allocations: 9.922 kB / 0.7922 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.01128, allocations: 12.12 kB / 0.7922 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.01129, allocations: 8 kB / 0.7922 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.01173, allocations: 171.8 kB / 0.7924 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.01298, allocations: 0.8199 MB / 0.7932 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.01351, allocations: 213.2 kB / 0.7934 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.01379, allocations: 132.7 kB / 0.7935 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.01384, allocations: 15.98 kB / 0.7936 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/0.01441, allocations: 334.5 kB / 0.7939 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.824e-06/0.01441, allocations: 0.8438 kB / 0.7939 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.001114/0.01552, allocations: 0.4894 MB / 0.7944 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.01563, allocations: 115.5 kB / 0.7945 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.0159, allocations: 268.3 kB / 0.7947 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.01595, allocations: 38.23 kB / 0.7948 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.01609, allocations: 172.1 kB / 0.7949 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.01626, allocations: 168 kB / 0.7951 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.01645, allocations: 120 kB / 0.7952 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003259/0.01678, allocations: 0.5274 MB / 0.7957 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.0171, allocations: 141.8 kB / 0.7958 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.01754, allocations: 288 kB / 0.7961 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.01841, allocations: 432 kB / 0.7965 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01842, allocations: 1.156 kB / 0.7965 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009365/0.01935, allocations: 0.5012 MB / 0.797 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01937, allocations: 5.188 kB / 0.797 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.01938, allocations: 4 kB / 0.797 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.0194, allocations: 4 kB / 0.797 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.01981, allocations: 104.6 kB / 0.7971 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.01982, allocations: 4 kB / 0.7971 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.02009, allocations: 56.64 kB / 0.7972 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.02013, allocations: 25.28 kB / 0.7972 GB, free: 1.195 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.0002184/0.02035, allocations: 215.3 kB / 0.7974 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.02043, allocations: 39.84 kB / 0.7975 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.02051, allocations: 33.97 kB / 0.7975 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.02051, allocations: 6 kB / 0.7975 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.02052, allocations: 7.922 kB / 0.7975 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.02053, allocations: 4 kB / 0.7975 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.02091, allocations: 260.4 kB / 0.7978 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02091, allocations: 0 / 0.7978 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.02131, allocations: 76.67 kB / 0.7978 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.02132, allocations: 4 kB / 0.7978 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.02136, allocations: 15.42 kB / 0.7979 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.02136, allocations: 7.938 kB / 0.7979 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02136, allocations: 0 / 0.7979 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.02259, allocations: 0.6121 MB / 0.7985 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.02264, allocations: 31.75 kB / 0.7985 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.02269, allocations: 15.98 kB / 0.7985 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.02291, allocations: 29.09 kB / 0.7985 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.02308, allocations: 75.78 kB / 0.7986 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.02312, allocations: 21.55 kB / 0.7986 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00015/0.02327, allocations: 176.2 kB / 0.7988 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02327, allocations: 0 / 0.7988 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003408/0.02361, allocations: 80 kB / 0.7989 GB, free: 15.45 MB / 0.7605 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.000188/0.02379, allocations: 119.6 kB / 0.799 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008088/0.0246, allocations: 400.1 kB / 0.7994 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02461, allocations: 0 / 0.7994 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.02498, allocations: 186.2 kB / 0.7995 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.02532, allocations: 46.84 kB / 0.7996 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.02657, allocations: 0.6091 MB / 0.8002 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.02674, allocations: 160.4 kB / 0.8003 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.02689, allocations: 34.34 kB / 0.8004 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.02702, allocations: 49.83 kB / 0.8004 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of SimCode: time 4.5e-07/0.02702, allocations: 0 / 0.8004 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.009674/0.0367, allocations: 4.053 MB / 0.8044 GB, free: 9.816 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","/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.320872714975849]