Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008663/0.0008663, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.00123/0.00123, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.734/1.734, allocations: 377.8 MB / 0.6228 GB, free: 8.699 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9823 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.172e-05, allocations: 5.094 kB / 0.9823 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001732/0.001754, allocations: 1.037 MB / 0.9833 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.002837, allocations: 1.131 MB / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.002902, allocations: 0 / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.002941, allocations: 15.75 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.003027, allocations: 47.52 kB / 0.9845 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.003422, allocations: 171.5 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.003659, allocations: 327 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003791, allocations: 40.5 kB / 0.985 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.004019, allocations: 195.6 kB / 0.9852 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.004147, allocations: 115.7 kB / 0.9853 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.004184, allocations: 35.98 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.485e-05/0.004239, allocations: 32 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.004285, allocations: 83.7 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.004349, allocations: 95.78 kB / 0.9855 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.004624, allocations: 350.9 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004626, allocations: 0 / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004627, allocations: 0 / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.004632, allocations: 0 / 0.9858 GB, free: 14.38 MB / 0.948 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.0007637/0.005396, allocations: 0.556 MB / 0.9864 GB, free: 13.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.005434, allocations: 8.031 kB / 0.9864 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.005632, allocations: 60.77 kB / 0.9864 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.005729, allocations: 146.8 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.005935, allocations: 495.7 kB / 0.9871 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.005978, allocations: 40.31 kB / 0.9871 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.006309, allocations: 255.1 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.006327, allocations: 4.172 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.006349, allocations: 12.38 kB / 0.9874 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.006356, allocations: 8.125 kB / 0.9874 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.006622, allocations: 171.9 kB / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.007312, allocations: 0.6486 MB / 0.9882 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.007648, allocations: 199.7 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.007801, allocations: 122.5 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.007833, allocations: 15.98 kB / 0.9885 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003331/0.008167, allocations: 308.1 kB / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.008168, allocations: 0 / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=48): time 0.0006639/0.008832, allocations: 492.2 kB / 0.9892 GB, free: 10.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.008888, allocations: 119.2 kB / 0.9894 GB, free: 10.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.009002, allocations: 188 kB / 0.9895 GB, free: 10.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.009028, allocations: 41.7 kB / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.009085, allocations: 117.3 kB / 0.9897 GB, free: 10.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.009436, allocations: 158.8 kB / 0.9898 GB, free: 9.949 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.009529, allocations: 106.3 kB / 0.9899 GB, free: 9.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.009615, allocations: 338.8 kB / 0.9903 GB, free: 9.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.0098, allocations: 149.2 kB / 0.9904 GB, free: 9.355 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.01003, allocations: 252.8 kB / 0.9906 GB, free: 9.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.01043, allocations: 402 kB / 0.991 GB, free: 8.641 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01043, allocations: 0 / 0.991 GB, free: 8.641 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005054/0.01094, allocations: 497.4 kB / 0.9915 GB, free: 8.148 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01095, allocations: 4 kB / 0.9915 GB, free: 8.145 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.01096, allocations: 4 kB / 0.9915 GB, free: 8.141 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01097, allocations: 8 kB / 0.9915 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.01116, allocations: 91.83 kB / 0.9916 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01117, allocations: 7.938 kB / 0.9916 GB, free: 8.035 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.0113, allocations: 63.73 kB / 0.9917 GB, free: 7.973 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.01132, allocations: 20 kB / 0.9917 GB, free: 7.953 MB / 0.948 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.0001109/0.01143, allocations: 155.7 kB / 0.9918 GB, free: 7.789 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.01146, allocations: 27.81 kB / 0.9919 GB, free: 7.762 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.0115, allocations: 33.95 kB / 0.9919 GB, free: 7.727 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0115, allocations: 8 kB / 0.9919 GB, free: 7.719 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01151, allocations: 4 kB / 0.9919 GB, free: 7.715 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.01152, allocations: 11.86 kB / 0.9919 GB, free: 7.703 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.0117, allocations: 241.1 kB / 0.9922 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.0117, allocations: 0 / 0.9922 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.0119, allocations: 75.89 kB / 0.9922 GB, free: 7.363 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.0119, allocations: 4 kB / 0.9922 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.01192, allocations: 8 kB / 0.9922 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01192, allocations: 7.938 kB / 0.9922 GB, free: 7.344 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01192, allocations: 0 / 0.9922 GB, free: 7.344 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.01259, allocations: 0.5917 MB / 0.9928 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.01261, allocations: 27.75 kB / 0.9928 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.01264, allocations: 15.98 kB / 0.9929 GB, free: 6.688 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.01274, allocations: 27.97 kB / 0.9929 GB, free: 6.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.01281, allocations: 47.89 kB / 0.9929 GB, free: 6.613 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.01283, allocations: 16 kB / 0.993 GB, free: 6.598 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.01289, allocations: 125.2 kB / 0.9931 GB, free: 6.477 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01289, allocations: 4.188 kB / 0.9931 GB, free: 6.473 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002033/0.01309, allocations: 83.94 kB / 0.9932 GB, free: 6.391 MB / 0.948 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.0001023/0.0132, allocations: 118.3 kB / 0.9933 GB, free: 6.266 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.01365, allocations: 359.2 kB / 0.9936 GB, free: 5.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01365, allocations: 0 / 0.9936 GB, free: 5.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.01386, allocations: 183.7 kB / 0.9938 GB, free: 5.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01408, allocations: 41.44 kB / 0.9938 GB, free: 5.691 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.01479, allocations: 0.5985 MB / 0.9944 GB, free: 5.059 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.01487, allocations: 156.2 kB / 0.9946 GB, free: 4.883 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.01497, allocations: 40.48 kB / 0.9946 GB, free: 4.844 MB / 0.948 GB Notification: Performance of SimCode: time 7.22e-07/0.01497, allocations: 4 kB / 0.9946 GB, free: 4.84 MB / 0.948 GB Notification: Performance of Templates: time 0.00422/0.01919, allocations: 4.075 MB / 0.9986 GB, free: 0.7852 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.929751017130911]