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.0008381/0.000838, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005791/0.005791, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 10.59 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3303, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0008423/0.3312, allocations: 337.9 kB / 1.059 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004339/0.3317, allocations: 115.7 kB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.3318, allocations: 3.938 kB / 1.059 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.526e-05/0.3319, allocations: 7.938 kB / 1.059 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3322, allocations: 19.98 kB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.262e-05/0.3322, allocations: 7.938 kB / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.3323, allocations: 23.97 kB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.3324, allocations: 20 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3326, allocations: 63.81 kB / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.3326, allocations: 11.92 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3326, allocations: 4 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-06/0.3327, allocations: 0 / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.3327, allocations: 4 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.3327, allocations: 45.56 kB / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.3328, allocations: 47.8 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3328, allocations: 0 / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3329, allocations: 4 kB / 1.059 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3329, allocations: 4 kB / 1.059 GB, free: 4.148 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.0003087/0.3332, allocations: 331.7 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3332, allocations: 11.97 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.3333, allocations: 38.69 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3333, allocations: 12.84 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3335, allocations: 180.2 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3335, allocations: 4.359 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3335, allocations: 8.375 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3337, allocations: 80.75 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3337, allocations: 3.938 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3337, allocations: 4 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3337, allocations: 3.938 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.3338, allocations: 27.92 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.3342, allocations: 0.5973 MB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.3343, allocations: 169.1 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.3343, allocations: 80.14 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3343, allocations: 75.28 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3344, allocations: 109.8 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3344, allocations: 0 / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.982e-05/0.3345, allocations: 41.53 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3345, allocations: 130.7 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3347, allocations: 159.3 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3347, allocations: 25.7 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.3348, allocations: 96.12 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.3348, allocations: 0 / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.3348, allocations: 9.719 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3349, allocations: 322.8 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-06/0.3349, allocations: 0 / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.335, allocations: 4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.335, allocations: 75.28 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.335, allocations: 75.28 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.62e-05/0.3351, allocations: 45.53 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.3351, allocations: 79.28 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.3352, allocations: 87.31 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.965e-05/0.3352, allocations: 150.6 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.637e-05/0.3353, allocations: 83.16 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.64e-05/0.3353, allocations: 150.6 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3355, allocations: 87.16 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.3355, allocations: 79.27 kB / 1.063 GB, free: 0.5078 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.0001199/0.3356, allocations: 272.4 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.3357, allocations: 108.9 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.3358, allocations: 117 kB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-05/0.3358, allocations: 184.3 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-05/0.3359, allocations: 184.2 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-05/0.336, allocations: 188.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3362, allocations: 413.2 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/0.3362, allocations: 108.9 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.3363, allocations: 105 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.998e-05/0.3363, allocations: 180.2 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.3364, allocations: 176.3 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.326e-05/0.3364, allocations: 184.3 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.386e-05/0.3365, allocations: 184.2 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.3366, allocations: 311.6 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.3367, allocations: 190 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.3368, allocations: 184.2 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.3369, allocations: 108.9 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3369, allocations: 180.2 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.3369, allocations: 104.9 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.526e-05/0.337, allocations: 124.8 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.337, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002457/0.3373, allocations: 4 kB / 1.066 GB, free: 12.75 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.0003466/0.3376, allocations: 0.8126 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.823e-05/0.3377, allocations: 3.938 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3377, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3377, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3381, allocations: 0.5379 MB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.3392, allocations: 1.734 MB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3395, allocations: 0.7003 MB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.3395, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.3396, allocations: 15.42 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3396, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01035/0.3499, allocations: 1.343 MB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/0.3502, allocations: 219.9 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.022, allocations: 2.031 kB / 1.071 GB, free: 7.383 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