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.007575/0.007575, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001271/0.001271, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.732/2.732, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3176, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002466/0.3201, allocations: 0.5984 MB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000498/0.3206, allocations: 116 kB / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.3207, allocations: 0 / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.3209, allocations: 7.922 kB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.3214, allocations: 23.92 kB / 1.167 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.172e-05/0.3215, allocations: 11.98 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.3216, allocations: 31.91 kB / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3218, allocations: 24.27 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.322, allocations: 51.91 kB / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.322, allocations: 15.92 kB / 1.167 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3221, allocations: 4 kB / 1.167 GB, free: 6.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.3221, allocations: 4 kB / 1.167 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.3222, allocations: 19.91 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.3222, allocations: 19.88 kB / 1.167 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3224, allocations: 47.75 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3224, allocations: 0 / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3224, allocations: 0 / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3224, allocations: 0 / 1.167 GB, free: 6.363 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.000487/0.3229, allocations: 351.2 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.323, allocations: 8.031 kB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.323, allocations: 42.75 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.3231, allocations: 8.875 kB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3233, allocations: 184.3 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3233, allocations: 384 / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3233, allocations: 4.375 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3235, allocations: 84.73 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3235, allocations: 3.938 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3235, allocations: 3.938 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3236, allocations: 8 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.3236, allocations: 19.98 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.3242, allocations: 0.6012 MB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3243, allocations: 177.1 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.3244, allocations: 80.14 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.3244, allocations: 75.28 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.3245, allocations: 113.8 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.3245, allocations: 0 / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.581e-05/0.3246, allocations: 37.66 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3246, allocations: 130.7 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3248, allocations: 157.8 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3248, allocations: 29.64 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.3249, allocations: 96.12 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.3249, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.325, allocations: 13.72 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3251, allocations: 314.8 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.3251, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.3251, allocations: 7.984 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.3252, allocations: 79.31 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-05/0.3252, allocations: 75.28 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.811e-05/0.3253, allocations: 33.69 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.3253, allocations: 85.78 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/0.3254, allocations: 79.22 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.698e-05/0.3255, allocations: 150.6 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.204e-05/0.3255, allocations: 79.28 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.657e-05/0.3256, allocations: 166.5 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.3258, allocations: 83.17 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.3258, allocations: 79.22 kB / 1.17 GB, free: 2.699 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.0001787/0.326, allocations: 272.4 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.3261, allocations: 108.9 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.3262, allocations: 120.8 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.953e-05/0.3263, allocations: 184.2 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.071e-05/0.3264, allocations: 176.3 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.929e-05/0.3265, allocations: 184.1 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.3269, allocations: 413.2 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.733e-05/0.3269, allocations: 121.1 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.327, allocations: 101 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.26e-05/0.3271, allocations: 180.3 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.3272, allocations: 184.2 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.874e-05/0.3273, allocations: 184.2 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001068/0.3274, allocations: 180.2 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3276, allocations: 307.8 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3277, allocations: 194 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/0.3278, allocations: 180.3 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.3279, allocations: 108.9 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.328, allocations: 188.2 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.3281, allocations: 101 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3282, allocations: 123.2 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.764e-06/0.3282, allocations: 3.938 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003215/0.3285, allocations: 7.938 kB / 1.174 GB, free: 14.93 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.0004591/0.329, allocations: 0.8126 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.047e-05/0.329, allocations: 0 / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3291, allocations: 4 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.3291, allocations: 3.938 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3294, allocations: 459.6 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3309, allocations: 1.744 MB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3312, allocations: 0.6885 MB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.3312, allocations: 0 / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.3313, allocations: 19.44 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3313, allocations: 0 / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.3492, allocations: 1.541 MB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.972, allocations: 0.5 kB / 1.179 GB, free: 9.652 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 & 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