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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00105/0.00105, allocations: 192.2 kB / 16.14 MB, free: 6.645 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 69.17 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2973, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002091/0.2994, allocations: 0.6689 MB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004788/0.2999, allocations: 111.7 kB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.3, allocations: 11.88 kB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3001, allocations: 0 / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.3006, allocations: 23.92 kB / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.953e-05/0.3007, allocations: 4 kB / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.3008, allocations: 35.95 kB / 1.053 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3009, allocations: 16 kB / 1.053 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.3011, allocations: 59.83 kB / 1.053 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.3012, allocations: 15.92 kB / 1.053 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3012, allocations: 8 kB / 1.053 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.3012, allocations: 0 / 1.053 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.3013, allocations: 7.984 kB / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.3013, allocations: 23.86 kB / 1.053 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.3014, allocations: 47.81 kB / 1.053 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3015, allocations: 0 / 1.053 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3015, allocations: 0 / 1.053 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3015, allocations: 0 / 1.053 GB, free: 7.188 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.0004114/0.3019, allocations: 341.3 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.302, allocations: 19.97 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.302, allocations: 38.69 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3021, allocations: 12.83 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3023, allocations: 180.2 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3023, allocations: 8.312 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.3023, allocations: 8.312 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.3025, allocations: 76.81 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3025, allocations: 3.938 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3025, allocations: 8 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3025, allocations: 0 / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.3026, allocations: 27.91 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.3032, allocations: 0.6011 MB / 1.054 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.286e-05/0.3032, allocations: 173.1 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.3033, allocations: 80.14 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3033, allocations: 75.28 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3034, allocations: 109.8 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.3034, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.929e-05/0.3034, allocations: 33.62 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3035, allocations: 134.7 kB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3037, allocations: 159 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3037, allocations: 25.7 kB / 1.055 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.3037, allocations: 96.12 kB / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-06/0.3037, allocations: 0 / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.3038, allocations: 13.72 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.3039, allocations: 314.8 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.3039, allocations: 4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.3039, allocations: 7.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.3039, allocations: 83.28 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/0.304, allocations: 75.28 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.985e-05/0.304, allocations: 37.55 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.3041, allocations: 81 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.3041, allocations: 75.28 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.889e-05/0.3042, allocations: 158.5 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.3042, allocations: 83.25 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.4e-05/0.3042, allocations: 154.5 kB / 1.056 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.3044, allocations: 87.16 kB / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3044, allocations: 79.28 kB / 1.057 GB, free: 3.523 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.0001135/0.3045, allocations: 264.4 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.3046, allocations: 117 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.3047, allocations: 112.9 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/0.3047, allocations: 188.3 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-05/0.3048, allocations: 184.2 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-05/0.3049, allocations: 180.2 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3051, allocations: 421.1 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/0.3051, allocations: 105 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.3052, allocations: 101 kB / 1.058 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.445e-05/0.3052, allocations: 184.2 kB / 1.058 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.3053, allocations: 184.2 kB / 1.058 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.906e-05/0.3053, allocations: 184.2 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.936e-05/0.3054, allocations: 176.3 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.3056, allocations: 319.6 kB / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.3056, allocations: 190 kB / 1.059 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.3057, allocations: 180.2 kB / 1.059 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.3058, allocations: 101 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.3059, allocations: 188.2 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.3059, allocations: 109 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.245e-05/0.306, allocations: 123.2 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.306, allocations: 0 / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002531/0.3063, allocations: 4 kB / 1.06 GB, free: 15.76 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.0003731/0.3066, allocations: 0.8049 MB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.299e-05/0.3067, allocations: 7.938 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3067, allocations: 0 / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.3067, allocations: 4 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3071, allocations: 0.5301 MB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3083, allocations: 1.746 MB / 1.063 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.3085, allocations: 0.6848 MB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.3085, allocations: 7.984 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3086, allocations: 15.44 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.3086, allocations: 4 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.3194, allocations: 1.403 MB / 1.065 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.3197, allocations: 228.7 kB / 1.065 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.902, allocations: 6.531 kB / 1.065 GB, free: 10.3 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