Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 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.001348/0.001348, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.504/2.504, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.5935, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002019/0.5955, allocations: 0.5903 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003752/0.5959, allocations: 111.7 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.596, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.77e-05/0.5961, allocations: 7.875 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.5965, allocations: 35.91 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.795e-05/0.5966, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.163e-05/0.5967, allocations: 23.98 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.5968, allocations: 23.98 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.5969, allocations: 59.88 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.597, allocations: 11.94 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.597, allocations: 7.938 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.5971, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.5971, allocations: 7.984 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.5971, allocations: 23.81 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.295e-05/0.5972, allocations: 47.8 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5973, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5973, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5973, allocations: 4 kB / 1.018 GB, free: 1.496 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.0003364/0.5976, allocations: 349.6 kB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5977, allocations: 12.03 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.5977, allocations: 38.73 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.5977, allocations: 12.78 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.5979, allocations: 180.3 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5979, allocations: 4.375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.5979, allocations: 4.375 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.5981, allocations: 84.75 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.5981, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.5981, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.5981, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.5982, allocations: 23.92 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.5986, allocations: 0.6012 MB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.5988, allocations: 173.1 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.5988, allocations: 88.16 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.5988, allocations: 75.28 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.5989, allocations: 105.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 3.426e-06/0.5989, allocations: 8 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.892e-05/0.599, allocations: 37.55 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.599, allocations: 126.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.5992, allocations: 163.3 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.5992, allocations: 29.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.5993, allocations: 88.14 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/0.5993, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.5993, allocations: 9.719 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5994, allocations: 326.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.5994, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.5994, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.5995, allocations: 75.28 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.5995, allocations: 75.28 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.568e-05/0.5996, allocations: 37.61 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.5996, allocations: 79.28 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.5996, allocations: 79.22 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.191e-05/0.5997, allocations: 162.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.394e-05/0.5997, allocations: 87.22 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-05/0.5998, allocations: 154.5 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.5999, allocations: 79.22 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.6, allocations: 83.22 kB / 1.022 GB, free: 13.83 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.0001291/0.6001, allocations: 272.4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.6002, allocations: 108.9 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.6002, allocations: 116.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/0.6003, allocations: 180.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/0.6004, allocations: 180.2 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-05/0.6004, allocations: 184.2 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.6006, allocations: 421.2 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.6007, allocations: 108.9 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.6007, allocations: 101 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.757e-05/0.6008, allocations: 184.2 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.6008, allocations: 180.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.925e-05/0.6009, allocations: 180.6 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.695e-05/0.6009, allocations: 180.2 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.6011, allocations: 323.6 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.6011, allocations: 182.1 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.6012, allocations: 180.3 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.6013, allocations: 112.9 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.6013, allocations: 180.2 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.6014, allocations: 112.9 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.6015, allocations: 124.9 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6015, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002464/0.6017, allocations: 4 kB / 1.025 GB, free: 10.07 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.0003607/0.6021, allocations: 0.8049 MB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.602e-05/0.6021, allocations: 4 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6022, allocations: 3.938 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.6022, allocations: 0 / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.6025, allocations: 471.6 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.6037, allocations: 1.733 MB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.604, allocations: 0.6924 MB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.672e-05/0.604, allocations: 8 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.604, allocations: 11.44 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.604, allocations: 0 / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.6224, allocations: 1.507 MB / 1.03 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.671, allocations: 10.48 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_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_IntegerVectorFilter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches