Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_9_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.00717/0.007169, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001693/0.001693, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.574/2.574, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.38 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3052, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001905/0.3072, allocations: 0.6313 MB / 1.088 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.3076, allocations: 112 kB / 1.088 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3077, allocations: 0 / 1.088 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3078, allocations: 4 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.3082, allocations: 35.84 kB / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.169e-05/0.3082, allocations: 0 / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.3083, allocations: 31.95 kB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3085, allocations: 20.28 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.3086, allocations: 59.89 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.3087, allocations: 15.92 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3087, allocations: 3.984 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.3087, allocations: 7.938 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.3088, allocations: 11.94 kB / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.3088, allocations: 23.86 kB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.3089, allocations: 43.83 kB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.309, allocations: 4 kB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.309, allocations: 3.938 kB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.309, allocations: 0 / 1.088 GB, free: 0.9688 MB / 0.8419 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.0003674/0.3093, allocations: 355.3 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3094, allocations: 8.031 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.3094, allocations: 34.69 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3095, allocations: 8.891 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3097, allocations: 180.3 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.3097, allocations: 4.375 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3097, allocations: 8.375 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3098, allocations: 88.72 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3099, allocations: 3.938 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3099, allocations: 0 / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3099, allocations: 0 / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.3099, allocations: 31.92 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.3104, allocations: 0.5973 MB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.3105, allocations: 165.1 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.3106, allocations: 84.14 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3106, allocations: 83.27 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.3106, allocations: 109.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.935e-06/0.3106, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.146e-05/0.3107, allocations: 41.53 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3108, allocations: 126.7 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.311, allocations: 167.2 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.311, allocations: 25.7 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.311, allocations: 92.14 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.311, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.3111, allocations: 9.719 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3112, allocations: 322.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/0.3112, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.168e-05/0.3112, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.3113, allocations: 75.28 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/0.3113, allocations: 75.28 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.483e-05/0.3114, allocations: 41.58 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.3114, allocations: 87.31 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.3114, allocations: 80.7 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.526e-05/0.3115, allocations: 150.6 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.3e-05/0.3115, allocations: 79.22 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.676e-05/0.3116, allocations: 150.6 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3117, allocations: 87.16 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3118, allocations: 83.27 kB / 1.092 GB, free: 13.3 MB / 0.8575 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.000115/0.3119, allocations: 268.4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.312, allocations: 108.9 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.312, allocations: 124.8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/0.3121, allocations: 180.3 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-05/0.3122, allocations: 184.2 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.505e-05/0.3122, allocations: 184.2 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.3125, allocations: 417.4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/0.3125, allocations: 105 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.3125, allocations: 105 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.418e-05/0.3126, allocations: 184.2 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.3127, allocations: 184.3 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-05/0.3127, allocations: 180.2 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.903e-05/0.3128, allocations: 184.3 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.3129, allocations: 311.6 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.313, allocations: 194 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.3131, allocations: 184.2 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.3132, allocations: 104.9 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.3133, allocations: 188.2 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.3133, allocations: 104.9 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.611e-05/0.3134, allocations: 122.1 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3134, allocations: 4 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002585/0.3137, allocations: 4 kB / 1.095 GB, free: 9.531 MB / 0.8575 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.0003621/0.3141, allocations: 0.8049 MB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.469e-05/0.3141, allocations: 3.938 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3141, allocations: 4 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3141, allocations: 0 / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3145, allocations: 465.5 kB / 1.096 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3159, allocations: 1.829 MB / 1.098 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3161, allocations: 0.6885 MB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.733e-05/0.3162, allocations: 8 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3162, allocations: 23.42 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3162, allocations: 0 / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.3333, allocations: 1.54 MB / 1.1 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.817, allocations: 12 kB / 1.1 GB, free: 4.141 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches