Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_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.001813/0.001813, allocations: 112.5 kB / 15.73 MB, free: 76 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.001912/0.001912, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.891/2.891, allocations: 469.4 MB / 0.7421 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 71.89 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3163, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.00178/0.3181, allocations: 0.6348 MB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003593/0.3185, allocations: 101.6 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.3186, allocations: 4 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.3187, allocations: 7.922 kB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.319, allocations: 27.92 kB / 1.22 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.049e-05/0.3191, allocations: 3.984 kB / 1.221 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.3192, allocations: 27.97 kB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3193, allocations: 23.98 kB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.3194, allocations: 59.78 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.3195, allocations: 15.92 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3195, allocations: 4 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.3195, allocations: 4 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.3196, allocations: 15.97 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3196, allocations: 19.88 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3197, allocations: 47.75 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3197, allocations: 4 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3197, allocations: 0 / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3197, allocations: 0 / 1.221 GB, free: 13.68 MB / 0.9825 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.0003234/0.3201, allocations: 351.2 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3201, allocations: 12.03 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.3201, allocations: 34.73 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.3202, allocations: 4.938 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3204, allocations: 188.2 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3204, allocations: 8.375 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3204, allocations: 384 / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.3205, allocations: 80.81 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3205, allocations: 3.938 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3206, allocations: 0 / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3206, allocations: 0 / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.3206, allocations: 23.92 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.321, allocations: 0.609 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.3211, allocations: 165.1 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.3211, allocations: 80.14 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3212, allocations: 79.28 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3212, allocations: 121.8 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3212, allocations: 0 / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.753e-05/0.3213, allocations: 29.66 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.3214, allocations: 130.7 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3215, allocations: 159.6 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.3215, allocations: 25.7 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.3216, allocations: 100.1 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.3216, allocations: 3.938 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.3216, allocations: 9.719 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.3217, allocations: 318.8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/0.3217, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.3217, allocations: 3.984 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.3218, allocations: 79.22 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/0.3218, allocations: 79.28 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.867e-05/0.3219, allocations: 41.62 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.3219, allocations: 79.28 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.3219, allocations: 79.27 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.477e-05/0.322, allocations: 162.5 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.466e-05/0.322, allocations: 83.3 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.394e-05/0.3221, allocations: 150.6 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.3222, allocations: 95.09 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.3222, allocations: 75.28 kB / 1.224 GB, free: 10.01 MB / 0.9825 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.0001121/0.3224, allocations: 268.9 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.3224, allocations: 112.9 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.3225, allocations: 113 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/0.3225, allocations: 188.2 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-05/0.3226, allocations: 184.3 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-05/0.3227, allocations: 180.2 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.3229, allocations: 421.1 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/0.3229, allocations: 101 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.323, allocations: 104.9 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.236e-05/0.323, allocations: 184.3 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.3231, allocations: 176.3 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.638e-05/0.3231, allocations: 184.2 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.488e-05/0.3232, allocations: 176.3 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3234, allocations: 319.7 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.3234, allocations: 190 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.3235, allocations: 184.2 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.3236, allocations: 101 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.3237, allocations: 184.1 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.3237, allocations: 105 kB / 1.227 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.25e-05/0.3238, allocations: 131.1 kB / 1.227 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.154e-06/0.3238, allocations: 0 / 1.227 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000261/0.3241, allocations: 7.938 kB / 1.227 GB, free: 6.246 MB / 0.9825 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.0003782/0.3245, allocations: 0.8087 MB / 1.228 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.392e-05/0.3245, allocations: 8 kB / 1.228 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3245, allocations: 0 / 1.228 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.3246, allocations: 0 / 1.228 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.3249, allocations: 465.3 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3262, allocations: 1.826 MB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3265, allocations: 0.6969 MB / 1.231 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.701e-05/0.3265, allocations: 7.984 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.3265, allocations: 11.44 kB / 1.231 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.3265, allocations: 0 / 1.231 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.345, allocations: 1.562 MB / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.97, allocations: 8.344 kB / 1.233 GB, free: 0.8711 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches