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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00824/0.00824, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.002092/0.002092, allocations: 200.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.092/2.092, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.929/2.929, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.88 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3874, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003843/0.3913, allocations: 1.958 MB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3927, allocations: 0.6506 MB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.3929, allocations: 8 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.778e-05/0.393, allocations: 19.73 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.3931, allocations: 39.53 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.3936, allocations: 155.7 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.394, allocations: 323.1 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3942, allocations: 52.38 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.3945, allocations: 131.6 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.3947, allocations: 147.4 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.3948, allocations: 36 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.3949, allocations: 28 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.395, allocations: 71.8 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.3951, allocations: 139.3 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.3955, allocations: 315 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3955, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3955, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3955, allocations: 0 / 1.17 GB, free: 3.16 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.001394/0.3969, allocations: 0.6369 MB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.397, allocations: 11.97 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.3971, allocations: 54.73 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.3971, allocations: 36.8 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3973, allocations: 200.9 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.3976, allocations: 268.3 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.3977, allocations: 28.33 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.3982, allocations: 265.6 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3983, allocations: 0 / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.3983, allocations: 11.98 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.3983, allocations: 8 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.3988, allocations: 179.8 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.4001, allocations: 0.7738 MB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.4006, allocations: 199.7 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.4009, allocations: 134.5 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.401, allocations: 8.375 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/0.4016, allocations: 319.7 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.305e-06/0.4016, allocations: 7.938 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.001116/0.4027, allocations: 478.7 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.4028, allocations: 122.7 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.403, allocations: 175.5 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.4031, allocations: 41.7 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.4032, allocations: 117.3 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.4033, allocations: 158.7 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.4036, allocations: 106.3 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002861/0.4038, allocations: 342.8 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.4043, allocations: 145.2 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.4048, allocations: 249.7 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.4056, allocations: 398 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4056, allocations: 0 / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009522/0.4066, allocations: 497.2 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4066, allocations: 4 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4066, allocations: 4 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4067, allocations: 11.98 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.4071, allocations: 95.98 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4071, allocations: 8 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.4074, allocations: 59.75 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.4075, allocations: 23.98 kB / 1.176 GB, free: 12.66 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.0001946/0.4077, allocations: 163.4 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.4077, allocations: 35.69 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.4078, allocations: 41.75 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4078, allocations: 8 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4078, allocations: 3.984 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4078, allocations: 0 / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.4083, allocations: 349.3 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4083, allocations: 3.938 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.4087, allocations: 75.89 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.4087, allocations: 4 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.4087, allocations: 12 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4088, allocations: 4 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4088, allocations: 4 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.41, allocations: 0.5804 MB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4101, allocations: 112.8 kB / 1.177 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.4102, allocations: 16 kB / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.4104, allocations: 27.97 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.4106, allocations: 59.92 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.4106, allocations: 12 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001165/0.4107, allocations: 129.2 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.255e-06/0.4107, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003532/0.4111, allocations: 75.94 kB / 1.178 GB, free: 10.86 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.001653/0.4128, allocations: 1.159 MB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008813/0.4136, allocations: 386.7 kB / 1.179 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4137, allocations: 4 kB / 1.179 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.4141, allocations: 187.7 kB / 1.179 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.4144, allocations: 44.41 kB / 1.179 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.4192, allocations: 3.182 MB / 1.183 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.4197, allocations: 0.7686 MB / 1.183 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001909/0.4199, allocations: 39.14 kB / 1.183 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.4201, allocations: 95.39 kB / 1.183 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/0.4201, allocations: 0 / 1.183 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.4518, allocations: 6.525 MB / 1.19 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.83, allocations: 12.52 kB / 1.19 GB, free: 14.43 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.csv --start-time 100 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.32 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > 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.csv","/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