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.005769/0.005769, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001248/0.001248, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.64/2.64, allocations: 437.1 MB / 0.7105 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3012, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002178/0.3034, allocations: 0.5945 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004639/0.3039, allocations: 116 kB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.304, allocations: 0 / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.3042, allocations: 7.938 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.3046, allocations: 31.91 kB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.413e-05/0.3047, allocations: 4 kB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.074e-05/0.3048, allocations: 23.98 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3049, allocations: 23.98 kB / 1.167 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.3051, allocations: 63.81 kB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.3051, allocations: 15.92 kB / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3052, allocations: 0 / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.3052, allocations: 4 kB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.3052, allocations: 11.94 kB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.3053, allocations: 23.86 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.414e-05/0.3054, allocations: 43.81 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3054, allocations: 0 / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3054, allocations: 0 / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3054, allocations: 4 kB / 1.167 GB, free: 6.395 MB / 0.92 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.0003406/0.3058, allocations: 354.2 kB / 1.167 GB, free: 6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3058, allocations: 8.031 kB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.3058, allocations: 34.75 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.3059, allocations: 8.844 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.3061, allocations: 185 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3061, allocations: 8.375 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.3061, allocations: 4.375 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3062, allocations: 80.81 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3063, allocations: 3.938 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3063, allocations: 3.938 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3063, allocations: 0 / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.3063, allocations: 31.91 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.3068, allocations: 0.605 MB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.3069, allocations: 165.1 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.307, allocations: 84.14 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.307, allocations: 75.28 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.307, allocations: 117.8 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.307, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001066/0.3072, allocations: 33.61 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.3072, allocations: 126.7 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3074, allocations: 161.7 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3074, allocations: 29.7 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.3075, allocations: 92.14 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.3075, allocations: 0 / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.3075, allocations: 13.72 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3076, allocations: 322.8 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/0.3076, allocations: 0 / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.3077, allocations: 4 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.3077, allocations: 75.28 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/0.3077, allocations: 79.22 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.538e-05/0.3078, allocations: 29.7 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.3078, allocations: 83.27 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/0.3079, allocations: 83.31 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.098e-05/0.3079, allocations: 154.5 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.401e-05/0.308, allocations: 75.28 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-05/0.308, allocations: 158.5 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3082, allocations: 91.06 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.3083, allocations: 75.28 kB / 1.17 GB, free: 2.738 MB / 0.92 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.0001336/0.3084, allocations: 276.4 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.3085, allocations: 108.8 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.3085, allocations: 116.9 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/0.3086, allocations: 184.2 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.328e-05/0.3087, allocations: 180.3 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/0.3087, allocations: 184.2 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.309, allocations: 421.1 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/0.309, allocations: 105.2 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.3091, allocations: 116.9 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.266e-05/0.3091, allocations: 180.3 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.3092, allocations: 176.3 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.104e-05/0.3093, allocations: 184.2 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.989e-05/0.3093, allocations: 180.3 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3095, allocations: 311.7 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.3096, allocations: 186 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.3097, allocations: 184.2 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.3097, allocations: 109 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.3098, allocations: 192.1 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.3099, allocations: 101 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.337e-05/0.31, allocations: 121 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.31, allocations: 0 / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002809/0.3102, allocations: 4 kB / 1.174 GB, free: 14.97 MB / 0.9356 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.0004064/0.3107, allocations: 0.8164 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.415e-05/0.3107, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3107, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3107, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3111, allocations: 469.7 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3124, allocations: 1.746 MB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3127, allocations: 0.6846 MB / 1.177 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.3127, allocations: 7.984 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.3127, allocations: 11.44 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.3128, allocations: 4 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.3319, allocations: 1.538 MB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.881, allocations: 10.19 kB / 1.179 GB, free: 9.684 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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