Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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_nonZeroStart,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_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,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_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 112.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.001617/0.001617, allocations: 190.7 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.402/1.402, 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.572/2.572, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 67.89 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003477/1.136, allocations: 1.982 MB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001158/1.137, allocations: 0.6467 MB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/1.137, allocations: 0 / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.737e-05/1.138, allocations: 27.61 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/1.138, allocations: 43.58 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/1.138, allocations: 147.7 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/1.139, allocations: 327.1 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/1.139, allocations: 44.38 kB / 1.171 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/1.139, allocations: 135.6 kB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/1.139, allocations: 147.4 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.35e-05/1.139, allocations: 32 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/1.139, allocations: 31.94 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/1.139, allocations: 75.78 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/1.14, allocations: 139.4 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/1.14, allocations: 294.9 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.14, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.502e-06/1.14, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.14, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 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.001226/1.141, allocations: 0.6372 MB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.141, allocations: 8.922 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/1.141, allocations: 28.66 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.141, allocations: 200.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/1.142, allocations: 268.3 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/1.142, allocations: 28.38 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/1.142, allocations: 265.8 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.142, allocations: 7.906 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/1.142, allocations: 12 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/1.142, allocations: 4 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/1.143, allocations: 175.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/1.144, allocations: 0.7737 MB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/1.145, allocations: 212.3 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/1.145, allocations: 130.5 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/1.145, allocations: 19.91 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006321/1.146, allocations: 307.9 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=48): time 2.274e-06/1.146, allocations: 0 / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.00112/1.147, allocations: 485 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/1.147, allocations: 110.8 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/1.147, allocations: 176 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/1.147, allocations: 37.7 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/1.147, allocations: 129.2 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.147, allocations: 146 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/1.147, allocations: 106.3 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.147, allocations: 338.8 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/1.148, allocations: 145.2 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/1.148, allocations: 260.8 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/1.149, allocations: 398 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.149, allocations: 3.938 kB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008606/1.15, allocations: 489.4 kB / 1.177 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.15, allocations: 7.938 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.15, allocations: 4 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.15, allocations: 8 kB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/1.15, allocations: 95.83 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/1.15, allocations: 8.094 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/1.15, allocations: 63.55 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/1.15, allocations: 27.98 kB / 1.177 GB, free: 9.297 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.0001643/1.151, allocations: 155.5 kB / 1.177 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/1.151, allocations: 27.75 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/1.151, allocations: 37.84 kB / 1.177 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.151, allocations: 0 / 1.177 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.151, allocations: 7.984 kB / 1.177 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/1.151, allocations: 100.8 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/1.151, allocations: 12 kB / 1.178 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.151, allocations: 27.97 kB / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.151, allocations: 59.92 kB / 1.178 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001198/1.152, allocations: 0.6627 MB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001273/1.154, allocations: 0.874 MB / 1.179 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003664/1.154, allocations: 175.8 kB / 1.179 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.921e-05/1.154, allocations: 125.2 kB / 1.179 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of Backend: time 7.52e-07/1.154, allocations: 3.938 kB / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001083/1.155, allocations: 359.3 kB / 1.18 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001356/1.157, allocations: 0.9888 MB / 1.181 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of Templates: time 0.01095/1.168, allocations: 5.017 MB / 1.186 GB, free: 0.6055 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches