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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",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.001301/0.001301, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.447/2.447, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 0.8694 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6013, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002214/0.6036, allocations: 1.117 MB / 1.019 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.6049, allocations: 1.1 MB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.605, allocations: 4 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.256e-05/0.605, allocations: 23.67 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.6051, allocations: 43.58 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.6056, allocations: 143.7 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.6059, allocations: 327.1 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.606, allocations: 56.3 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.6062, allocations: 135.6 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.6063, allocations: 155.3 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.6064, allocations: 32 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.6064, allocations: 28 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.6065, allocations: 75.8 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.6066, allocations: 139.3 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.6069, allocations: 305.2 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6069, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6069, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6069, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 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.001048/0.6079, allocations: 0.6237 MB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.608, allocations: 8.031 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.895e-05/0.6081, allocations: 62.72 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.6081, allocations: 32.66 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.6083, allocations: 192.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.6085, allocations: 268.3 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.6085, allocations: 36.27 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.609, allocations: 258 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.609, allocations: 7.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.609, allocations: 8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.609, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.6094, allocations: 179.8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.6104, allocations: 0.7775 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.6108, allocations: 199.7 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.6111, allocations: 138.5 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.6111, allocations: 4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/0.6116, allocations: 323.5 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.6117, allocations: 4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.0009649/0.6126, allocations: 482.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.6127, allocations: 118.7 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.6128, allocations: 175.5 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.6129, allocations: 37.7 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.6129, allocations: 121.2 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.6131, allocations: 153.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.6132, allocations: 102.3 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6133, allocations: 346.8 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.6137, allocations: 145.2 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.6142, allocations: 256.8 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6153, allocations: 398 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6153, allocations: 3.938 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001363/0.6167, allocations: 489.3 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6167, allocations: 11.94 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6167, allocations: 0 / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.6167, allocations: 8 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.6173, allocations: 91.83 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.6174, allocations: 12 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.6178, allocations: 51.66 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.6179, allocations: 27.98 kB / 1.027 GB, free: 8.301 MB / 0.7794 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.0002441/0.6181, allocations: 151.5 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.6182, allocations: 27.66 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.6183, allocations: 41.86 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.6183, allocations: 4 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6184, allocations: 3.938 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.6184, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.6189, allocations: 369 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.619, allocations: 4 kB / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.6196, allocations: 71.89 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.6197, allocations: 7.938 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.6197, allocations: 11.98 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.6197, allocations: 4 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6198, allocations: 8.062 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.6214, allocations: 0.583 MB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.6215, allocations: 104.7 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.6216, allocations: 16 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.6218, allocations: 31.95 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.6219, allocations: 55.94 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.622, allocations: 15.98 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.789e-05/0.6221, allocations: 121.2 kB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6221, allocations: 0 / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003213/0.6224, allocations: 83.94 kB / 1.029 GB, free: 6.508 MB / 0.7794 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.001313/0.6237, allocations: 1.155 MB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007892/0.6245, allocations: 398.7 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6245, allocations: 0 / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.6249, allocations: 203.7 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.6253, allocations: 45.92 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.6294, allocations: 3.165 MB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.6298, allocations: 0.7686 MB / 1.034 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.63, allocations: 34.97 kB / 1.034 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.6301, allocations: 91.41 kB / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.6301, allocations: 0 / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.6549, allocations: 6.539 MB / 1.041 GB, free: 10 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.767, allocations: 11.56 kB / 1.041 GB, free: 9.992 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv","/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