Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001711/0.001711, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.002228/0.002228, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 59.91 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.0025/1.175, allocations: 1.118 MB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001531/1.177, allocations: 1.106 MB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/1.177, allocations: 8 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.242e-05/1.177, allocations: 15.75 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/1.177, allocations: 43.52 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/1.178, allocations: 151.6 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003342/1.178, allocations: 327.2 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/1.178, allocations: 44.39 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/1.179, allocations: 139.5 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/1.179, allocations: 143.5 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/1.179, allocations: 32 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/1.179, allocations: 32 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.054e-05/1.179, allocations: 83.72 kB / 1.171 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/1.179, allocations: 131.4 kB / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/1.179, allocations: 314.8 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.179, allocations: 0 / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.515e-06/1.179, allocations: 0 / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.111e-06/1.179, allocations: 3.938 kB / 1.171 GB, free: 140 kB / 0.8887 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.00137/1.181, allocations: 0.6216 MB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.181, allocations: 16.58 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/1.181, allocations: 28.66 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.181, allocations: 204.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/1.181, allocations: 264.3 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.707e-05/1.182, allocations: 32.36 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/1.182, allocations: 262.2 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/1.182, allocations: 11.84 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/1.182, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.182, allocations: 8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/1.183, allocations: 175.9 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.184, allocations: 0.7737 MB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/1.184, allocations: 203.7 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/1.185, allocations: 134.5 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/1.185, allocations: 8 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/1.185, allocations: 311.9 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=48): time 2.284e-06/1.185, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.001179/1.187, allocations: 489.6 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/1.187, allocations: 114.8 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/1.187, allocations: 172 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/1.187, allocations: 41.7 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/1.187, allocations: 117.3 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.187, allocations: 153.9 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/1.187, allocations: 102.3 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.187, allocations: 346.7 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/1.188, allocations: 149.2 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/1.188, allocations: 252.8 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/1.189, allocations: 398 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/1.189, allocations: 0 / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009076/1.19, allocations: 493.4 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.19, allocations: 8 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.19, allocations: 7.938 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.19, allocations: 4 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/1.19, allocations: 91.83 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/1.19, allocations: 8 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/1.191, allocations: 63.56 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/1.191, allocations: 23.98 kB / 1.177 GB, free: 9.719 MB / 0.9044 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.0001854/1.191, allocations: 159.4 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/1.191, allocations: 27.72 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/1.191, allocations: 37.8 kB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.191, allocations: 4 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.191, allocations: 0 / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/1.191, allocations: 104.8 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/1.191, allocations: 8 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/1.191, allocations: 31.97 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.192, allocations: 59.86 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001251/1.193, allocations: 0.658 MB / 1.178 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001309/1.194, allocations: 0.8749 MB / 1.179 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003637/1.194, allocations: 175.9 kB / 1.179 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001031/1.195, allocations: 125.2 kB / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of Backend: time 1.793e-06/1.195, allocations: 4 kB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001079/1.196, allocations: 362.2 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001302/1.197, allocations: 0.9965 MB / 1.18 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of Templates: time 0.01109/1.208, allocations: 5.006 MB / 1.185 GB, free: 1.035 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches