Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",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.001144/0.001144, 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.001299/0.001299, allocations: 195.2 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.516/2.516, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.615, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001851/0.6169, allocations: 0.6268 MB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.6172, allocations: 111.7 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.6173, allocations: 7.938 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.562e-05/0.6174, allocations: 11.92 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.6177, allocations: 27.92 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.22e-05/0.6178, allocations: 7.984 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.6179, allocations: 23.98 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.618, allocations: 23.98 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.6181, allocations: 55.83 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.6182, allocations: 19.92 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.6182, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.6182, allocations: 4 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.6183, allocations: 11.94 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.6183, allocations: 23.86 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.68e-05/0.6184, allocations: 35.88 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6184, allocations: 4 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6184, allocations: 4 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6184, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000325/0.6188, allocations: 357.5 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6188, allocations: 15.98 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.6188, allocations: 34.75 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.6189, allocations: 8.844 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.619, allocations: 176.3 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.6191, allocations: 8.375 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.6191, allocations: 384 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.6192, allocations: 84.75 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6192, allocations: 7.922 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6193, allocations: 4 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6193, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.6193, allocations: 27.91 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.6198, allocations: 0.6012 MB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.6199, allocations: 169.1 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.6199, allocations: 84.17 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.6199, allocations: 75.28 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.62, allocations: 113.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.62, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.003e-05/0.6201, allocations: 33.55 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.6201, allocations: 130.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.6203, allocations: 163.3 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.6203, allocations: 25.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.6204, allocations: 100.1 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.6204, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.6204, allocations: 13.72 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.6205, allocations: 318.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-06/0.6205, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.6206, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/0.6206, allocations: 83.22 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.6206, allocations: 75.28 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.335e-05/0.6207, allocations: 41.53 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.6207, allocations: 79.28 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.6208, allocations: 83.31 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.988e-05/0.6208, allocations: 154.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.296e-05/0.6209, allocations: 79.22 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-05/0.6209, allocations: 150.6 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.6211, allocations: 91.16 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.6211, allocations: 75.28 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001239/0.6212, allocations: 268.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.6213, allocations: 116.9 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.6213, allocations: 112.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/0.6214, allocations: 176.3 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/0.6215, allocations: 184.2 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.687e-05/0.6215, allocations: 188.2 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.6217, allocations: 417.2 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/0.6218, allocations: 104.9 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.6218, allocations: 105 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.825e-05/0.6219, allocations: 188.2 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.6219, allocations: 176.3 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.067e-05/0.622, allocations: 180.6 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.345e-05/0.6221, allocations: 180.2 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.6222, allocations: 323.6 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.6223, allocations: 182.1 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.6224, allocations: 184.2 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.6225, allocations: 104.9 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.6225, allocations: 184.2 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.6226, allocations: 108.9 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.238e-05/0.6227, allocations: 125.7 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6227, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002677/0.6229, allocations: 4 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003327/0.6233, allocations: 0.8049 MB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.411e-05/0.6233, allocations: 7.938 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6233, allocations: 3.938 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.6233, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.6237, allocations: 471.6 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6249, allocations: 1.822 MB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.6252, allocations: 0.7002 MB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.433e-05/0.6252, allocations: 4 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.6252, allocations: 15.44 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6252, allocations: 0 / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.6429, allocations: 1.529 MB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/7.551, allocations: 4 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches