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.00239/0.00239, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002818/0.002818, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.611/1.611, 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.912/2.912, allocations: 359 MB / 0.6048 GB, free: 10.91 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,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.034e-06/2.034e-06, allocations: 0.5469 kB / 0.7865 GB, free: 11.58 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.957e-05, allocations: 2.312 kB / 0.7865 GB, free: 11.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002334/0.002364, allocations: 1.054 MB / 0.7875 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.004126, allocations: 1.138 MB / 0.7886 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.004209, allocations: 0 / 0.7886 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.004265, allocations: 17.31 kB / 0.7886 GB, free: 9.375 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.004409, allocations: 48.53 kB / 0.7887 GB, free: 9.328 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.004911, allocations: 159.7 kB / 0.7888 GB, free: 9.172 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.005367, allocations: 335.6 kB / 0.7891 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.005546, allocations: 32.56 kB / 0.7892 GB, free: 8.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.005985, allocations: 197.1 kB / 0.7893 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.006233, allocations: 119.6 kB / 0.7895 GB, free: 8.504 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.006301, allocations: 28 kB / 0.7895 GB, free: 8.477 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.006405, allocations: 33.12 kB / 0.7895 GB, free: 8.445 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.006509, allocations: 79.77 kB / 0.7896 GB, free: 8.367 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.006663, allocations: 99.78 kB / 0.7897 GB, free: 8.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.007245, allocations: 344 kB / 0.79 GB, free: 7.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.00725, allocations: 0 / 0.79 GB, free: 7.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.007252, allocations: 1.219 kB / 0.79 GB, free: 7.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.007259, allocations: 0 / 0.79 GB, free: 7.934 MB / 0.698 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.001705/0.008964, allocations: 0.6714 MB / 0.7907 GB, free: 7.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.009004, allocations: 8.031 kB / 0.7907 GB, free: 7.215 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.009354, allocations: 76.77 kB / 0.7908 GB, free: 7.141 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.00952, allocations: 147.9 kB / 0.7909 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/0.009947, allocations: 499.7 kB / 0.7914 GB, free: 6.371 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.01001, allocations: 36.27 kB / 0.7914 GB, free: 6.336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.01054, allocations: 271.6 kB / 0.7917 GB, free: 6.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.01057, allocations: 4.188 kB / 0.7917 GB, free: 6.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01059, allocations: 4.375 kB / 0.7917 GB, free: 6.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.01061, allocations: 12.12 kB / 0.7917 GB, free: 6.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.01106, allocations: 176.4 kB / 0.7919 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01232, allocations: 0.815 MB / 0.7927 GB, free: 5.004 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.01285, allocations: 218.3 kB / 0.7929 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.01313, allocations: 132.2 kB / 0.793 GB, free: 4.613 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.01318, allocations: 11.98 kB / 0.793 GB, free: 4.602 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006179/0.01379, allocations: 328 kB / 0.7933 GB, free: 4.254 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.0138, allocations: 0 / 0.7933 GB, free: 4.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001205/0.015, allocations: 496.3 kB / 0.7938 GB, free: 3.766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.01512, allocations: 120.3 kB / 0.7939 GB, free: 3.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.01543, allocations: 255.1 kB / 0.7941 GB, free: 3.359 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.01549, allocations: 41.7 kB / 0.7942 GB, free: 3.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.01562, allocations: 164.6 kB / 0.7943 GB, free: 3.148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.01583, allocations: 166.7 kB / 0.7945 GB, free: 2.984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.01604, allocations: 125.7 kB / 0.7946 GB, free: 2.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003595/0.0164, allocations: 0.5235 MB / 0.7951 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.01672, allocations: 141.2 kB / 0.7953 GB, free: 2.184 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.01721, allocations: 300.5 kB / 0.7956 GB, free: 1.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.01798, allocations: 435.9 kB / 0.796 GB, free: 1.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01799, allocations: 0 / 0.796 GB, free: 1.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009422/0.01893, allocations: 0.5018 MB / 0.7965 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.01895, allocations: 8 kB / 0.7965 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.01896, allocations: 0.5312 kB / 0.7965 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.01899, allocations: 8 kB / 0.7965 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.01937, allocations: 96.48 kB / 0.7966 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.01938, allocations: 8.469 kB / 0.7966 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.01965, allocations: 57.06 kB / 0.7966 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.0197, allocations: 27.98 kB / 0.7967 GB, free: 0.6562 MB / 0.698 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.000205/0.0199, allocations: 200.4 kB / 0.7968 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.01998, allocations: 47.81 kB / 0.7969 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.301e-05/0.02006, allocations: 33.95 kB / 0.7969 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.02007, allocations: 4.812 kB / 0.7969 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.02008, allocations: 0 / 0.7969 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.02009, allocations: 12.86 kB / 0.7969 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.02044, allocations: 252.4 kB / 0.7972 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02044, allocations: 0 / 0.7972 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.02112, allocations: 69.25 kB / 0.7972 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.02112, allocations: 4 kB / 0.7973 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.02118, allocations: 15.98 kB / 0.7973 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.02118, allocations: 8.688 kB / 0.7973 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02119, allocations: 0 / 0.7973 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.02235, allocations: 0.614 MB / 0.7979 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.02239, allocations: 35.73 kB / 0.7979 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.02244, allocations: 8 kB / 0.7979 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.02267, allocations: 28.78 kB / 0.7979 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.02282, allocations: 75.25 kB / 0.798 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.02286, allocations: 20.05 kB / 0.798 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000144/0.023, allocations: 177 kB / 0.7982 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.023, allocations: 0 / 0.7982 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003211/0.02332, allocations: 83.94 kB / 0.7983 GB, free: 14.93 MB / 0.7136 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.0001847/0.02351, allocations: 118.3 kB / 0.7984 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008216/0.02433, allocations: 395.3 kB / 0.7988 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02433, allocations: 0 / 0.7988 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.02473, allocations: 194.1 kB / 0.799 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.02507, allocations: 46.09 kB / 0.799 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.02641, allocations: 0.5923 MB / 0.7996 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.02658, allocations: 156 kB / 0.7997 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.02674, allocations: 42.94 kB / 0.7998 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.02687, allocations: 45.62 kB / 0.7998 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.02687, allocations: 0 / 0.7998 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.009386/0.03626, allocations: 4.045 MB / 0.8038 GB, free: 9.332 MB / 0.7136 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.140564022934996]