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.001569/0.001569, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001658/0.001658, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.758/2.758, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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.645e-06/2.645e-06, allocations: 0 / 0.7865 GB, free: 11.62 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.524e-05, allocations: 6.25 kB / 0.7865 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002334/0.00237, allocations: 1.025 MB / 0.7875 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.004141, allocations: 1.134 MB / 0.7886 GB, free: 9.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.004221, allocations: 4.75 kB / 0.7886 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.188e-05/0.004283, allocations: 19.73 kB / 0.7886 GB, free: 9.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.004411, allocations: 44.83 kB / 0.7886 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.004904, allocations: 160.5 kB / 0.7888 GB, free: 9.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.005299, allocations: 327.6 kB / 0.7891 GB, free: 8.918 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.00544, allocations: 41.81 kB / 0.7891 GB, free: 8.879 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.005781, allocations: 199.6 kB / 0.7893 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.006002, allocations: 115.6 kB / 0.7894 GB, free: 8.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.006055, allocations: 29.62 kB / 0.7895 GB, free: 8.543 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.006139, allocations: 35.98 kB / 0.7895 GB, free: 8.508 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.006221, allocations: 75.78 kB / 0.7896 GB, free: 8.434 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.006341, allocations: 95.77 kB / 0.7897 GB, free: 8.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.006772, allocations: 348.1 kB / 0.79 GB, free: 8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006775, allocations: 0 / 0.79 GB, free: 8 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.32e-07/0.006776, allocations: 0 / 0.79 GB, free: 8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.006782, allocations: 0 / 0.79 GB, free: 8 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.00145/0.008232, allocations: 0.5601 MB / 0.7905 GB, free: 7.406 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.008273, allocations: 12.03 kB / 0.7906 GB, free: 7.395 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.008657, allocations: 80.95 kB / 0.7906 GB, free: 7.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.00883, allocations: 150.2 kB / 0.7908 GB, free: 7.145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.009256, allocations: 499.7 kB / 0.7913 GB, free: 6.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.009324, allocations: 32.33 kB / 0.7913 GB, free: 6.516 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.009881, allocations: 255.1 kB / 0.7915 GB, free: 6.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.009905, allocations: 4.188 kB / 0.7915 GB, free: 6.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.009939, allocations: 12.36 kB / 0.7915 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.009949, allocations: 8.125 kB / 0.7915 GB, free: 6.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.01041, allocations: 174.8 kB / 0.7917 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.01158, allocations: 0.6617 MB / 0.7924 GB, free: 5.363 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.01214, allocations: 195.7 kB / 0.7925 GB, free: 5.145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.01242, allocations: 119.1 kB / 0.7927 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.01247, allocations: 21.27 kB / 0.7927 GB, free: 5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006703/0.01314, allocations: 297.8 kB / 0.793 GB, free: 4.688 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.01314, allocations: 0 / 0.793 GB, free: 4.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001245/0.01439, allocations: 0.5024 MB / 0.7935 GB, free: 4.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.01449, allocations: 115.2 kB / 0.7936 GB, free: 4.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.01471, allocations: 184 kB / 0.7937 GB, free: 3.855 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.01476, allocations: 38.83 kB / 0.7938 GB, free: 3.812 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01486, allocations: 117.3 kB / 0.7939 GB, free: 3.695 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.01503, allocations: 154.8 kB / 0.794 GB, free: 3.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.0152, allocations: 110.9 kB / 0.7941 GB, free: 3.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.0154, allocations: 342.8 kB / 0.7945 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.01574, allocations: 146.7 kB / 0.7946 GB, free: 2.945 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.01617, allocations: 257.6 kB / 0.7949 GB, free: 2.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.01691, allocations: 391.4 kB / 0.7952 GB, free: 2.242 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01691, allocations: 5.375 kB / 0.7952 GB, free: 2.238 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001074/0.01799, allocations: 0.5049 MB / 0.7957 GB, free: 1.727 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.01801, allocations: 5.156 kB / 0.7957 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.01802, allocations: 4 kB / 0.7957 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.01804, allocations: 4.062 kB / 0.7957 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.01847, allocations: 104.6 kB / 0.7958 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.01848, allocations: 8.5 kB / 0.7958 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.01879, allocations: 60.55 kB / 0.7959 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.01884, allocations: 20.94 kB / 0.7959 GB, free: 1.527 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.0002078/0.01904, allocations: 157 kB / 0.7961 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.01913, allocations: 47.8 kB / 0.7961 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.01924, allocations: 29.97 kB / 0.7961 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.01925, allocations: 4.969 kB / 0.7962 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.01926, allocations: 7.938 kB / 0.7962 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.01928, allocations: 10.23 kB / 0.7962 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.01977, allocations: 229.1 kB / 0.7964 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.01978, allocations: 4 kB / 0.7964 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.02038, allocations: 75.89 kB / 0.7965 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.02039, allocations: 3.938 kB / 0.7965 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.02044, allocations: 12 kB / 0.7965 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.02045, allocations: 11.42 kB / 0.7965 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02045, allocations: 0 / 0.7965 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.02199, allocations: 0.6111 MB / 0.7971 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.02204, allocations: 27.75 kB / 0.7971 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.02209, allocations: 8 kB / 0.7971 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.02234, allocations: 36.83 kB / 0.7972 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.02251, allocations: 60.34 kB / 0.7972 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.02254, allocations: 12 kB / 0.7972 GB, free: 144 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001225/0.02266, allocations: 129.7 kB / 0.7974 GB, free: 16 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.02266, allocations: 0.5625 kB / 0.7974 GB, free: 16 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004023/0.02306, allocations: 83.92 kB / 0.7974 GB, free: 15.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.0001871/0.02325, allocations: 113.2 kB / 0.7975 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008576/0.02411, allocations: 366 kB / 0.7979 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02411, allocations: 0 / 0.7979 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.02453, allocations: 184.3 kB / 0.7981 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.02489, allocations: 60.64 kB / 0.7981 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.02614, allocations: 0.5783 MB / 0.7987 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.02631, allocations: 158.1 kB / 0.7988 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.02648, allocations: 34.5 kB / 0.7989 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.02662, allocations: 49.36 kB / 0.7989 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.02662, allocations: 0 / 0.7989 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.009697/0.03632, allocations: 4.033 MB / 0.8029 GB, free: 10.41 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] 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: 7.962999253999442]