Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.IntegerVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_latest_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.001319/0.001319, 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.001421/0.001421, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 68.17 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3393, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0022/0.3415, allocations: 0.6023 MB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003967/0.342, allocations: 115.7 kB / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.342, allocations: 0 / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3422, allocations: 7.875 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.3426, allocations: 31.91 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.474e-05/0.3426, allocations: 3.984 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.3427, allocations: 23.98 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3429, allocations: 23.98 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.343, allocations: 63.83 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.3431, allocations: 15.92 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3431, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.3431, allocations: 4 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.3432, allocations: 11.98 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.3432, allocations: 15.88 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.3433, allocations: 51.81 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3433, allocations: 4 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3433, allocations: 0 / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3434, allocations: 0 / 1.054 GB, free: 7.273 MB / 0.8106 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.0003459/0.3437, allocations: 343.7 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3438, allocations: 12.56 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.3438, allocations: 30.75 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3438, allocations: 12.83 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.344, allocations: 192.1 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3441, allocations: 4.375 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3441, allocations: 4.375 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3442, allocations: 80.81 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3442, allocations: 3.938 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3442, allocations: 0 / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3443, allocations: 0 / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.3443, allocations: 27.92 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.3448, allocations: 0.605 MB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.3449, allocations: 165.1 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.3449, allocations: 80.14 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3449, allocations: 75.28 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.345, allocations: 117.8 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.345, allocations: 0 / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.095e-05/0.3451, allocations: 37.62 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3451, allocations: 126.7 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3453, allocations: 159.2 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3453, allocations: 25.7 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.3454, allocations: 96.12 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.3454, allocations: 7.938 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.3454, allocations: 9.719 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3455, allocations: 318.8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.3455, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.3456, allocations: 3.984 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.3456, allocations: 79.28 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/0.3456, allocations: 75.28 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.032e-05/0.3457, allocations: 37.55 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.3457, allocations: 85.19 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.3458, allocations: 75.28 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-05/0.3458, allocations: 166.4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.119e-05/0.3458, allocations: 75.28 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.525e-05/0.3459, allocations: 154.5 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3461, allocations: 87.16 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.3461, allocations: 83.31 kB / 1.057 GB, free: 3.617 MB / 0.8106 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.0001193/0.3462, allocations: 269.9 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.3463, allocations: 112.8 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.3463, allocations: 109.4 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/0.3464, allocations: 180.3 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.255e-05/0.3465, allocations: 192.2 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/0.3465, allocations: 180.2 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.3467, allocations: 421.4 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.3468, allocations: 101 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.3468, allocations: 113 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.436e-05/0.3469, allocations: 180.2 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.347, allocations: 180.3 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.925e-05/0.347, allocations: 184.2 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.825e-05/0.3471, allocations: 180.3 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3472, allocations: 311.6 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.3473, allocations: 194 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.3474, allocations: 188.2 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.3474, allocations: 101 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.3475, allocations: 188.1 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.3476, allocations: 101 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.3476, allocations: 123.2 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3477, allocations: 4 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002531/0.3479, allocations: 4 kB / 1.061 GB, free: 15.86 MB / 0.8262 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.0003542/0.3483, allocations: 0.8087 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.545e-05/0.3483, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3483, allocations: 4 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.3483, allocations: 3.938 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3487, allocations: 468.8 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3499, allocations: 1.748 MB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.3501, allocations: 0.6807 MB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.3501, allocations: 7.984 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3502, allocations: 11.44 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3502, allocations: 0 / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.3691, allocations: 1.505 MB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.4, allocations: 10.69 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches