Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 111.6 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 185.7 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.87/2.87, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 60.12 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003045/1.117, allocations: 1.101 MB / 1.222 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002284/1.119, allocations: 1.108 MB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003319/1.119, allocations: 4 kB / 1.223 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/1.12, allocations: 19.69 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/1.12, allocations: 43.56 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/1.121, allocations: 151.8 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006555/1.121, allocations: 327.2 kB / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/1.122, allocations: 52.27 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/1.122, allocations: 131.6 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/1.123, allocations: 155.4 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/1.123, allocations: 28 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/1.123, allocations: 32 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/1.123, allocations: 71.8 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/1.123, allocations: 131.4 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/1.124, allocations: 316.4 kB / 1.225 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.124, allocations: 0 / 1.225 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.226e-06/1.124, allocations: 8 kB / 1.225 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.531e-05/1.124, allocations: 0 / 1.225 GB, free: 14.65 MB / 0.9512 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.001555/1.125, allocations: 0.6198 MB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.125, allocations: 8.625 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/1.125, allocations: 32.66 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/1.126, allocations: 204.7 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/1.126, allocations: 272.2 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/1.126, allocations: 36.31 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/1.127, allocations: 254.3 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.127, allocations: 11.84 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.127, allocations: 8 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.127, allocations: 4 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/1.127, allocations: 175.8 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/1.129, allocations: 0.7814 MB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/1.129, allocations: 203.7 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/1.13, allocations: 130.5 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/1.13, allocations: 7.984 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/1.13, allocations: 315.6 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/1.13, allocations: 0 / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.001292/1.132, allocations: 488.6 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/1.132, allocations: 114.8 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/1.132, allocations: 175.5 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/1.132, allocations: 41.69 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/1.132, allocations: 121.2 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/1.132, allocations: 146 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/1.133, allocations: 106.3 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.133, allocations: 338.8 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/1.133, allocations: 149.2 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/1.134, allocations: 257.6 kB / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/1.134, allocations: 398 kB / 1.23 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.134, allocations: 4 kB / 1.23 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001103/1.135, allocations: 489.2 kB / 1.23 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.135, allocations: 8 kB / 1.23 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.136, allocations: 7.938 kB / 1.23 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/1.136, allocations: 8 kB / 1.23 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/1.136, allocations: 91.83 kB / 1.23 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/1.136, allocations: 11.98 kB / 1.23 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/1.136, allocations: 51.66 kB / 1.23 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/1.136, allocations: 24.06 kB / 1.23 GB, free: 8.234 MB / 0.9512 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.0002241/1.137, allocations: 163.9 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/1.137, allocations: 27.7 kB / 1.231 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/1.137, allocations: 37.81 kB / 1.231 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.137, allocations: 3.984 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.137, allocations: 0 / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/1.137, allocations: 100.8 kB / 1.231 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.137, allocations: 12 kB / 1.231 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/1.137, allocations: 35.95 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.137, allocations: 59.88 kB / 1.231 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001358/1.139, allocations: 0.6616 MB / 1.231 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001276/1.14, allocations: 0.8738 MB / 1.232 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003494/1.14, allocations: 179.8 kB / 1.232 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000176/1.141, allocations: 125.2 kB / 1.233 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of Backend: time 6.71e-07/1.141, allocations: 0 / 1.233 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.142, allocations: 356.3 kB / 1.233 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001504/1.143, allocations: 1.01 MB / 1.234 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of Templates: time 0.01144/1.155, allocations: 5.01 MB / 1.239 GB, free: 15.53 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches