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.009568/0.009568, allocations: 101 kB / 15.73 MB, free: 6.059 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.002047/0.002047, allocations: 192.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 2.415/2.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 4.167/4.167, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.11 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317/1.319, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002852/1.322, allocations: 0.597 MB / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005798/1.323, allocations: 111.7 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/1.323, allocations: 0 / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/1.323, allocations: 7.938 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004998/1.324, allocations: 31.86 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.903e-05/1.324, allocations: 11.98 kB / 1.167 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/1.324, allocations: 19.98 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/1.324, allocations: 23.98 kB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/1.324, allocations: 59.83 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/1.325, allocations: 15.92 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/1.325, allocations: 0 / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/1.325, allocations: 8 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/1.325, allocations: 11.98 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/1.325, allocations: 15.88 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/1.325, allocations: 55.45 kB / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.325, allocations: 0 / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/1.325, allocations: 0 / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.325, allocations: 0 / 1.167 GB, free: 2.801 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.0005994/1.326, allocations: 351.3 kB / 1.167 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/1.326, allocations: 8.625 kB / 1.167 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/1.326, allocations: 38.73 kB / 1.167 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/1.326, allocations: 8.891 kB / 1.167 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/1.326, allocations: 188.2 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/1.326, allocations: 4.375 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/1.326, allocations: 8.375 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/1.326, allocations: 72.81 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.327, allocations: 3.938 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.327, allocations: 0 / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.327, allocations: 4 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/1.327, allocations: 31.92 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/1.328, allocations: 0.6035 MB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/1.328, allocations: 173.1 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/1.328, allocations: 84.14 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.365e-05/1.328, allocations: 75.28 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.918e-05/1.328, allocations: 109.8 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/1.328, allocations: 3.938 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001524/1.328, allocations: 37.59 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.328, allocations: 126.7 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/1.329, allocations: 161.8 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/1.329, allocations: 25.7 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.329, allocations: 96.12 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-06/1.329, allocations: 0 / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/1.329, allocations: 9.719 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.329, allocations: 318.8 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/1.329, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/1.329, allocations: 7.984 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.709e-05/1.329, allocations: 83.25 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.606e-05/1.329, allocations: 75.28 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001135/1.329, allocations: 37.64 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/1.33, allocations: 81.78 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/1.33, allocations: 79.28 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/1.33, allocations: 154.5 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/1.33, allocations: 79.27 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.651e-05/1.33, allocations: 154.6 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/1.33, allocations: 95.11 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/1.33, allocations: 75.28 kB / 1.17 GB, free: 15.14 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.0002374/1.331, allocations: 272.4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/1.331, allocations: 112.9 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.331, allocations: 112.9 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001315/1.331, allocations: 184.2 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001261/1.331, allocations: 180.2 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/1.331, allocations: 184.2 kB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/1.332, allocations: 421.1 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-05/1.332, allocations: 105 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/1.332, allocations: 105 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/1.332, allocations: 180.2 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/1.332, allocations: 176.6 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001271/1.332, allocations: 192.2 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001193/1.332, allocations: 180.3 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/1.333, allocations: 307.7 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/1.333, allocations: 194 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.333, allocations: 180.2 kB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.333, allocations: 105 kB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.333, allocations: 188.1 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/1.333, allocations: 101 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000181/1.334, allocations: 123.2 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/1.334, allocations: 0 / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004879/1.334, allocations: 7.938 kB / 1.174 GB, free: 11.38 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.0007817/1.335, allocations: 0.8243 MB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.77e-05/1.335, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/1.335, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/1.335, allocations: 4 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/1.336, allocations: 463.6 kB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.338, allocations: 1.748 MB / 1.177 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/1.339, allocations: 0.6885 MB / 1.178 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.08e-05/1.339, allocations: 4 kB / 1.178 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/1.339, allocations: 19.42 kB / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of SimCode: time 7.32e-07/1.339, allocations: 0 / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/1.378, allocations: 1.538 MB / 1.179 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.9, allocations: 3.125 kB / 1.179 GB, free: 6.082 MB / 0.9044 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