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.008912/0.008922, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.002051/0.002052, allocations: 191.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.228/2.228, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.821/3.821, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003194/0.003194, allocations: 68.11 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236/1.239, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002407/1.241, allocations: 0.6483 MB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004731/1.242, allocations: 103.7 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/1.242, allocations: 0 / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/1.242, allocations: 3.938 kB / 1.167 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004509/1.243, allocations: 35.89 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.241e-05/1.243, allocations: 4 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.906e-05/1.243, allocations: 27.92 kB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/1.243, allocations: 23.98 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/1.243, allocations: 55.88 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/1.243, allocations: 15.92 kB / 1.167 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/1.243, allocations: 4 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/1.243, allocations: 8 kB / 1.167 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/1.243, allocations: 8 kB / 1.167 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/1.243, allocations: 23.86 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/1.244, allocations: 43.48 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.244, allocations: 0 / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.354e-06/1.244, allocations: 0 / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.244, allocations: 0 / 1.167 GB, free: 2.766 MB / 0.8887 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.000514/1.244, allocations: 355.2 kB / 1.167 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.244, allocations: 12.92 kB / 1.167 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/1.244, allocations: 38.75 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.462e-05/1.244, allocations: 8.891 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/1.245, allocations: 184.2 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.245, allocations: 8.375 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/1.245, allocations: 384 / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/1.245, allocations: 80.75 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.245, allocations: 3.938 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.245, allocations: 4 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/1.245, allocations: 4 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/1.245, allocations: 27.91 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/1.246, allocations: 0.6113 MB / 1.168 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/1.246, allocations: 169.1 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/1.246, allocations: 84.14 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/1.246, allocations: 75.28 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.794e-05/1.246, allocations: 109.8 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.246, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001068/1.246, allocations: 33.66 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.246, allocations: 126.7 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/1.246, allocations: 168.4 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/1.246, allocations: 25.7 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/1.247, allocations: 104 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-06/1.247, allocations: 0 / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/1.247, allocations: 9.719 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.247, allocations: 318.8 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/1.247, allocations: 0 / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/1.247, allocations: 4 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.257e-05/1.247, allocations: 83.36 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-05/1.247, allocations: 79.28 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.023e-05/1.247, allocations: 29.7 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/1.247, allocations: 83.27 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/1.247, allocations: 79.22 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/1.247, allocations: 154.6 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/1.247, allocations: 75.28 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.172e-05/1.247, allocations: 158.5 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/1.248, allocations: 91.17 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/1.248, allocations: 79.22 kB / 1.17 GB, free: 15.09 MB / 0.9044 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.0002308/1.248, allocations: 268.4 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.248, allocations: 108.9 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/1.248, allocations: 116.8 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001271/1.248, allocations: 180.2 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001377/1.249, allocations: 180.3 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00014/1.249, allocations: 192.2 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/1.249, allocations: 413.2 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.301e-05/1.249, allocations: 104.9 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/1.249, allocations: 109 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/1.249, allocations: 188.2 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/1.25, allocations: 180.5 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001239/1.25, allocations: 176.3 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000117/1.25, allocations: 188.2 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/1.25, allocations: 311.8 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.25, allocations: 190 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.25, allocations: 180.2 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.25, allocations: 108.9 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.251, allocations: 192.2 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/1.251, allocations: 101 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000132/1.251, allocations: 119.2 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.251, allocations: 3.938 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004136/1.251, allocations: 4 kB / 1.174 GB, free: 11.32 MB / 0.9044 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.0006638/1.252, allocations: 0.8204 MB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.026e-05/1.252, allocations: 0 / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.252, allocations: 0 / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-06/1.252, allocations: 0 / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/1.252, allocations: 467.6 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/1.254, allocations: 1.826 MB / 1.177 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/1.255, allocations: 0.69 MB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.926e-05/1.255, allocations: 4 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/1.255, allocations: 19.44 kB / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/1.255, allocations: 0 / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/1.281, allocations: 1.559 MB / 1.179 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.91, allocations: 9.578 kB / 1.179 GB, free: 5.926 MB / 0.9044 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