Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001458/0.001458, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001685/0.001685, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.342/3.342, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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_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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8777 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.87e-05/4.104e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004073/0.004114, allocations: 1.93 MB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.005797, allocations: 0.7008 MB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.00599, allocations: 4 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.302e-05/0.006073, allocations: 24.73 kB / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.00626, allocations: 44.64 kB / 0.8803 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.006945, allocations: 176.7 kB / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.007488, allocations: 339 kB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.007671, allocations: 32.91 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.008216, allocations: 204.3 kB / 0.881 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.008491, allocations: 113.3 kB / 0.8811 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.017e-05/0.008572, allocations: 28 kB / 0.8812 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.008681, allocations: 35.98 kB / 0.8812 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.00879, allocations: 79.72 kB / 0.8813 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.008983, allocations: 100.7 kB / 0.8814 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.009618, allocations: 346.9 kB / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.009622, allocations: 0 / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.009624, allocations: 1.094 kB / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.009635, allocations: 0 / 0.8817 GB, free: 2.301 MB / 0.8386 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.00168/0.01132, allocations: 0.5619 MB / 0.8822 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.01136, allocations: 12.03 kB / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.01183, allocations: 84.7 kB / 0.8823 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.01229, allocations: 182.3 kB / 0.8825 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004531/0.01274, allocations: 0.4918 MB / 0.883 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.01284, allocations: 37.61 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.01344, allocations: 259.1 kB / 0.8833 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.01346, allocations: 1.75 kB / 0.8833 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.0135, allocations: 16.12 kB / 0.8833 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.01351, allocations: 7.938 kB / 0.8833 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.01401, allocations: 172.9 kB / 0.8835 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.01527, allocations: 0.6566 MB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.01588, allocations: 203.8 kB / 0.8843 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.0163, allocations: 118.5 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.01636, allocations: 19.94 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006311/0.01699, allocations: 312.3 kB / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 2.404e-06/0.01699, allocations: 0 / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001315/0.0183, allocations: 0.4998 MB / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.0184, allocations: 110.8 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.01864, allocations: 184.1 kB / 0.8855 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.01871, allocations: 41.7 kB / 0.8855 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01883, allocations: 125.3 kB / 0.8857 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.01901, allocations: 150.8 kB / 0.8858 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.01921, allocations: 106.3 kB / 0.8859 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.01942, allocations: 338.8 kB / 0.8862 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.01982, allocations: 149.2 kB / 0.8864 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.02029, allocations: 252.7 kB / 0.8866 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.02112, allocations: 394.1 kB / 0.887 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.02113, allocations: 0 / 0.887 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001132/0.02226, allocations: 0.5132 MB / 0.8875 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.02229, allocations: 8 kB / 0.8875 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.0223, allocations: 8.094 kB / 0.8875 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/0.02234, allocations: 7.938 kB / 0.8875 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.02281, allocations: 95.81 kB / 0.8876 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.02283, allocations: 11.98 kB / 0.8876 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.02317, allocations: 55.75 kB / 0.8877 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.02322, allocations: 24 kB / 0.8877 GB, free: 11.76 MB / 0.8542 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.0002369/0.02346, allocations: 159.6 kB / 0.8878 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.02358, allocations: 47.91 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.02367, allocations: 37.95 kB / 0.8879 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.02369, allocations: 7.938 kB / 0.8879 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.0237, allocations: 3.984 kB / 0.8879 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.02371, allocations: 64 / 0.8879 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.02413, allocations: 237.1 kB / 0.8882 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.02414, allocations: 11.94 kB / 0.8882 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.02459, allocations: 71.89 kB / 0.8882 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.0246, allocations: 4 kB / 0.8882 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.02464, allocations: 11.98 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.02465, allocations: 4 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.02465, allocations: 3.938 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.02599, allocations: 0.5965 MB / 0.8888 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.02604, allocations: 31.84 kB / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.0261, allocations: 23.86 kB / 0.8889 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.02635, allocations: 27.97 kB / 0.8889 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.02653, allocations: 63.84 kB / 0.889 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.02657, allocations: 15.98 kB / 0.889 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001351/0.0267, allocations: 127.1 kB / 0.8891 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0267, allocations: 0 / 0.8891 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003888/0.02709, allocations: 83.95 kB / 0.8892 GB, free: 10.15 MB / 0.8542 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.0002044/0.02729, allocations: 119.2 kB / 0.8893 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.02817, allocations: 359.3 kB / 0.8897 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.02817, allocations: 0 / 0.8897 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.02862, allocations: 187.6 kB / 0.8898 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.02902, allocations: 56.09 kB / 0.8899 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.03049, allocations: 0.5892 MB / 0.8905 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.03069, allocations: 156.2 kB / 0.8906 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.03087, allocations: 42.95 kB / 0.8907 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.03102, allocations: 48.48 kB / 0.8907 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/0.03102, allocations: 0 / 0.8907 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of Templates: time 0.01068/0.0417, allocations: 4.047 MB / 0.8947 GB, free: 4.562 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.50692237005569]