Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_9_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.008555/0.008555, allocations: 97.27 kB / 15.73 MB, free: 6.035 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.00207/0.002069, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.28 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001871/0.3036, allocations: 0.6021 MB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.3041, allocations: 108 kB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.3041, allocations: 0 / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.3043, allocations: 3.938 kB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.3047, allocations: 35.91 kB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.575e-05/0.3048, allocations: 4 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.3049, allocations: 27.92 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.305, allocations: 28.25 kB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3051, allocations: 55.89 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.3052, allocations: 11.94 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3052, allocations: 0 / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.3052, allocations: 4 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.3053, allocations: 11.98 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.3053, allocations: 27.86 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3055, allocations: 47.75 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3055, allocations: 0 / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3055, allocations: 0 / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3055, allocations: 0 / 1.088 GB, free: 1.031 MB / 0.8419 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.0003949/0.3059, allocations: 363.2 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3059, allocations: 8.031 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.306, allocations: 38.69 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.306, allocations: 8.891 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.3062, allocations: 176.3 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3062, allocations: 8.375 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3062, allocations: 4.375 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3064, allocations: 80.19 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3064, allocations: 3.938 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3064, allocations: 4 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.3065, allocations: 3.984 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.3065, allocations: 27.97 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.307, allocations: 0.6051 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.492e-05/0.3071, allocations: 169.1 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.3072, allocations: 84.14 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3072, allocations: 79.22 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.3073, allocations: 105.8 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3073, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.995e-05/0.3074, allocations: 33.66 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.3075, allocations: 130.6 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3076, allocations: 163.1 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3077, allocations: 25.7 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.3077, allocations: 96.14 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.3077, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.3078, allocations: 9.719 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3079, allocations: 330.7 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.3079, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.3079, allocations: 8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.308, allocations: 75.28 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.308, allocations: 75.28 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.237e-05/0.3081, allocations: 33.66 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.3081, allocations: 80.84 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/0.3081, allocations: 88.62 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.408e-05/0.3082, allocations: 154.6 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.007e-05/0.3083, allocations: 79.22 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.853e-05/0.3083, allocations: 154.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3085, allocations: 83.28 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.3085, allocations: 79.22 kB / 1.092 GB, free: 13.36 MB / 0.8575 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.000121/0.3087, allocations: 276.4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.3087, allocations: 104.9 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.3088, allocations: 116.9 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/0.3089, allocations: 188.1 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.107e-05/0.3089, allocations: 176.3 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/0.309, allocations: 184.2 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.3092, allocations: 417.5 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-05/0.3093, allocations: 101 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.3093, allocations: 113 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-05/0.3094, allocations: 188.3 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.3095, allocations: 180.2 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.639e-05/0.3095, allocations: 184.2 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.938e-05/0.3096, allocations: 184.2 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.3098, allocations: 307.8 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.3099, allocations: 190 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.3099, allocations: 176.3 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.31, allocations: 112.9 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.3101, allocations: 192.2 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.3102, allocations: 101 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001/0.3103, allocations: 123.2 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3103, allocations: 0 / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002652/0.3105, allocations: 4 kB / 1.095 GB, free: 9.594 MB / 0.8575 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.0004098/0.311, allocations: 0.8126 MB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.07e-05/0.311, allocations: 3.938 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.311, allocations: 0 / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.311, allocations: 0 / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3115, allocations: 469.6 kB / 1.096 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3128, allocations: 1.742 MB / 1.098 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.313, allocations: 0.6807 MB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.3131, allocations: 7.984 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.3131, allocations: 15.44 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.3131, allocations: 0 / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.3315, allocations: 1.53 MB / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.962, allocations: 7.781 kB / 1.1 GB, free: 4.316 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches