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.001763/0.001763, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001771/0.001771, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.91 kB / 1.055 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.88, allocations: 157.4 MB / 1.209 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002498/0.8825, allocations: 1.101 MB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.8841, allocations: 1.104 MB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.8843, allocations: 0 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.818e-05/0.8844, allocations: 27.61 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.8846, allocations: 47.58 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.8851, allocations: 147.7 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.8855, allocations: 319.2 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.8857, allocations: 56.3 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.886, allocations: 131.6 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.8863, allocations: 147.5 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.8863, allocations: 32 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.981e-05/0.8864, allocations: 31.94 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.8865, allocations: 75.78 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.8866, allocations: 135.4 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.887, allocations: 310.8 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.887, allocations: 4 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.887, allocations: 0 / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.887, allocations: 0 / 1.212 GB, free: 9.895 MB / 0.9356 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.001567/0.8886, allocations: 0.6293 MB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.8886, allocations: 8.031 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.8888, allocations: 28.66 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.889, allocations: 204.8 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/0.8892, allocations: 260.3 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.8893, allocations: 32.31 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.8899, allocations: 266.3 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.8899, allocations: 7.844 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.8899, allocations: 15.98 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.89, allocations: 4 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.8904, allocations: 171.8 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.8916, allocations: 0.7814 MB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.8921, allocations: 207.7 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.8924, allocations: 130.5 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.8925, allocations: 11.98 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005728/0.893, allocations: 299.7 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.8931, allocations: 0 / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.001022/0.8941, allocations: 490 kB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.8942, allocations: 122.8 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.8943, allocations: 175.5 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.8944, allocations: 37.7 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.8945, allocations: 121.3 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.8946, allocations: 146 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.8948, allocations: 106.3 kB / 1.216 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8949, allocations: 338.8 kB / 1.216 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.8952, allocations: 149.2 kB / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.8956, allocations: 248.8 kB / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.8963, allocations: 401.9 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.8963, allocations: 0 / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008819/0.8972, allocations: 0.4933 MB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8972, allocations: 4 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.8972, allocations: 7.938 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.8973, allocations: 7.984 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.8977, allocations: 99.81 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.8977, allocations: 4 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.898, allocations: 59.56 kB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.898, allocations: 20 kB / 1.218 GB, free: 3.465 MB / 0.9356 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.0001779/0.8982, allocations: 170.9 kB / 1.218 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.8982, allocations: 27.66 kB / 1.218 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.8983, allocations: 33.81 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.8983, allocations: 3.984 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8983, allocations: 0 / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.8984, allocations: 104.8 kB / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.8985, allocations: 12 kB / 1.218 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.8987, allocations: 31.95 kB / 1.218 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.8989, allocations: 55.94 kB / 1.218 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001151/0.9, allocations: 0.66 MB / 1.219 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001229/0.9013, allocations: 0.8777 MB / 1.22 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003475/0.9016, allocations: 175.9 kB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001048/0.9017, allocations: 129.2 kB / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of Backend: time 4.9e-07/0.9017, allocations: 0 / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.9029, allocations: 351.6 kB / 1.22 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001513/0.9044, allocations: 1 MB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.01129/0.9157, allocations: 5.002 MB / 1.226 GB, free: 10.79 MB / 0.9512 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