Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_11_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.007295/0.007295, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001365/0.001365, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.536/1.536, 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 11.1.0-maint.11.x/package.mo): time 2.998/2.998, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3914, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001848/0.3933, allocations: 0.6387 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000369/0.3937, allocations: 109.5 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.3937, allocations: 3.938 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.742e-05/0.3938, allocations: 3.984 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.3942, allocations: 23.92 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.126e-05/0.3943, allocations: 19.92 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3944, allocations: 27.97 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3946, allocations: 19.98 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3947, allocations: 47.91 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.3948, allocations: 19.92 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3948, allocations: 4 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.3948, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.3949, allocations: 19.97 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.395, allocations: 15.88 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.3951, allocations: 51.69 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3951, allocations: 0 / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3951, allocations: 0 / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3951, allocations: 0 / 1.221 GB, free: 13.31 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.000406/0.3955, allocations: 355.2 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3956, allocations: 12.03 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.3956, allocations: 38.73 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.3957, allocations: 8.938 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3959, allocations: 180.3 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.3959, allocations: 384 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3959, allocations: 8.375 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3961, allocations: 80.73 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3961, allocations: 3.938 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3961, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3961, allocations: 7.984 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.3962, allocations: 27.92 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.3967, allocations: 0.5934 MB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.3968, allocations: 177.1 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.3969, allocations: 80.14 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.3969, allocations: 75.28 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.397, allocations: 109.8 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.397, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.195e-05/0.397, allocations: 37.59 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.3971, allocations: 130.7 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3973, allocations: 159.3 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3973, allocations: 25.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.3974, allocations: 100.1 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.3974, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.3974, allocations: 17.66 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3975, allocations: 314.8 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.3976, allocations: 4 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.3976, allocations: 7.984 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.3976, allocations: 75.28 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-05/0.3977, allocations: 79.28 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.646e-05/0.3977, allocations: 37.59 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.3978, allocations: 83.28 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.3978, allocations: 75.28 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.573e-05/0.3979, allocations: 150.6 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.398e-05/0.3979, allocations: 91.27 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.806e-05/0.398, allocations: 154.6 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3981, allocations: 87.09 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.3982, allocations: 75.28 kB / 1.224 GB, free: 9.641 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.000147/0.3983, allocations: 272.4 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.3984, allocations: 112.9 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.3985, allocations: 117 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/0.3985, allocations: 180.2 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.967e-05/0.3986, allocations: 188.2 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.593e-05/0.3987, allocations: 180.2 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.399, allocations: 425.2 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-05/0.399, allocations: 104.9 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.3991, allocations: 101 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.678e-05/0.3992, allocations: 180.2 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.802e-05/0.3993, allocations: 180.3 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.079e-05/0.3994, allocations: 184.2 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-05/0.3995, allocations: 184.2 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3996, allocations: 311.7 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.3998, allocations: 190 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.3999, allocations: 180.3 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.4, allocations: 104.9 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.4, allocations: 184.2 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.4001, allocations: 104.9 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001053/0.4002, allocations: 129.2 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4002, allocations: 4 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002727/0.4005, allocations: 0 / 1.228 GB, free: 5.879 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.0004732/0.401, allocations: 0.817 MB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.145e-05/0.401, allocations: 3.938 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.401, allocations: 7.938 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.401, allocations: 0 / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.4015, allocations: 463.6 kB / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.4031, allocations: 1.832 MB / 1.231 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.4034, allocations: 0.6885 MB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.4035, allocations: 7.984 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.4035, allocations: 15.44 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.4035, allocations: 0 / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.4252, allocations: 1.564 MB / 1.233 GB, free: 484 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.391, allocations: 7.922 kB / 1.233 GB, free: 476 kB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches