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.01021/0.01021, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001785/0.001785, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.595/1.595, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.842/2.842, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3582, allocations: 151.6 MB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002354/0.3606, allocations: 1.117 MB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.362, allocations: 1.1 MB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.3621, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.382e-05/0.3621, allocations: 27.67 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3623, allocations: 35.59 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.3628, allocations: 155.7 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.3632, allocations: 331.1 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.3634, allocations: 48.38 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.3636, allocations: 127.7 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.3638, allocations: 151.4 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.3638, allocations: 28 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.3639, allocations: 32 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.364, allocations: 79.73 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.3641, allocations: 139.3 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.3644, allocations: 310.8 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3645, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3645, allocations: 4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.3645, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 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.001362/0.3658, allocations: 0.6273 MB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3659, allocations: 11.98 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.366, allocations: 36.78 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3662, allocations: 196.9 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.3665, allocations: 272.2 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.3665, allocations: 36.31 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.367, allocations: 254.3 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3671, allocations: 11.92 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.3671, allocations: 4 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3671, allocations: 8 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.3675, allocations: 175.8 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3686, allocations: 0.7699 MB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.3692, allocations: 203.7 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.3694, allocations: 134.5 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.3695, allocations: 11.88 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000559/0.37, allocations: 324.1 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.893e-06/0.3701, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.001074/0.3711, allocations: 487.4 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.3712, allocations: 114.8 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3714, allocations: 179.5 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3714, allocations: 37.7 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.3715, allocations: 121.3 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3716, allocations: 158.7 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3718, allocations: 98.34 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3719, allocations: 346.8 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.3722, allocations: 145.2 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.3726, allocations: 256.8 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.3732, allocations: 402 kB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3732, allocations: 0 / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007972/0.374, allocations: 489.2 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.374, allocations: 15.92 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.3741, allocations: 8.062 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3741, allocations: 8 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.3744, allocations: 91.83 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.3745, allocations: 11.94 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3747, allocations: 55.75 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.3748, allocations: 20 kB / 1.176 GB, free: 12.62 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.0001735/0.3749, allocations: 159.5 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.375, allocations: 43.69 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.3751, allocations: 33.86 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3751, allocations: 4 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3751, allocations: 0 / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3751, allocations: 4 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.3755, allocations: 349.3 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3755, allocations: 4 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.3759, allocations: 75.89 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3759, allocations: 7.938 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.376, allocations: 8 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.376, allocations: 7.984 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.376, allocations: 0 / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3771, allocations: 0.5825 MB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.3772, allocations: 108.8 kB / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.3772, allocations: 15.94 kB / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3774, allocations: 31.95 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3776, allocations: 56.12 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3776, allocations: 12 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.767e-05/0.3777, allocations: 137.1 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3777, allocations: 3.938 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003023/0.378, allocations: 76 kB / 1.178 GB, free: 10.82 MB / 0.9356 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.0001845/0.3782, allocations: 124 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007126/0.3789, allocations: 384.1 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3789, allocations: 4 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.3793, allocations: 189 kB / 1.178 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3796, allocations: 44.05 kB / 1.178 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3807, allocations: 0.6224 MB / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3811, allocations: 0.7647 MB / 1.18 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.3812, allocations: 43.22 kB / 1.18 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3814, allocations: 35.44 kB / 1.18 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3814, allocations: 0 / 1.18 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of Templates: time 0.007575/0.3889, allocations: 3.95 MB / 1.184 GB, free: 4.637 MB / 0.9356 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/jenkins/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