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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001139/0.001139, 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.001211/0.001211, allocations: 194.2 kB / 16.14 MB, free: 6.691 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.7071, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001974/0.7091, allocations: 0.6532 MB / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.7095, allocations: 112.5 kB / 0.9498 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.7095, allocations: 1.375 kB / 0.9498 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.934e-05/0.7096, allocations: 4 kB / 0.9498 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.71, allocations: 26.91 kB / 0.9498 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.194e-05/0.71, allocations: 1.375 kB / 0.9498 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.7101, allocations: 28.3 kB / 0.9499 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.7102, allocations: 22.98 kB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.7103, allocations: 56.75 kB / 0.9499 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.7104, allocations: 13.44 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.7104, allocations: 5.375 kB / 0.95 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-06/0.7104, allocations: 1.375 kB / 0.95 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.7105, allocations: 14.8 kB / 0.95 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.7105, allocations: 23.98 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.247e-05/0.7106, allocations: 38.83 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7106, allocations: 1.375 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.7106, allocations: 0 / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.7106, allocations: 0 / 0.95 GB, free: 8.406 MB / 0.7169 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.0002773/0.7109, allocations: 356.7 kB / 0.9504 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7109, allocations: 9.625 kB / 0.9504 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.452e-05/0.7109, allocations: 40.12 kB / 0.9504 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.711, allocations: 7.594 kB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.7111, allocations: 185.8 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.7111, allocations: 5.688 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.7111, allocations: 6.812 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.7113, allocations: 77.12 kB / 0.9507 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.7113, allocations: 1.031 kB / 0.9507 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.7113, allocations: 4 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7113, allocations: 5.094 kB / 0.9507 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.7114, allocations: 33.03 kB / 0.9507 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.7117, allocations: 0.5953 MB / 0.9513 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.7117, allocations: 174.5 kB / 0.9515 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.7117, allocations: 84.14 kB / 0.9516 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.7118, allocations: 76.34 kB / 0.9516 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.7118, allocations: 106.9 kB / 0.9517 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.7118, allocations: 0 / 0.9517 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.344e-05/0.7119, allocations: 36.83 kB / 0.9518 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.7119, allocations: 134.6 kB / 0.9519 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.712, allocations: 158.9 kB / 0.9521 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.712, allocations: 26.95 kB / 0.9521 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.7121, allocations: 94.61 kB / 0.9522 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.7121, allocations: 1.312 kB / 0.9522 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.7121, allocations: 10.94 kB / 0.9522 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.7121, allocations: 317.4 kB / 0.9525 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.7122, allocations: 0 / 0.9525 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.7122, allocations: 10.34 kB / 0.9525 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.37e-05/0.7122, allocations: 76.5 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.7122, allocations: 75.31 kB / 0.9526 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.094e-05/0.7123, allocations: 46 kB / 0.9527 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7123, allocations: 84.3 kB / 0.9528 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.7123, allocations: 77.94 kB / 0.9528 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.7124, allocations: 155.8 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.377e-05/0.7124, allocations: 84.56 kB / 0.9531 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.7124, allocations: 150.6 kB / 0.9532 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.7125, allocations: 85.78 kB / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.7125, allocations: 76.53 kB / 0.9534 GB, free: 4.914 MB / 0.7169 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 7.228e-05/0.7126, allocations: 266.7 kB / 0.9536 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.7126, allocations: 115.4 kB / 0.9537 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.7127, allocations: 120.4 kB / 0.9538 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.7127, allocations: 181.5 kB / 0.954 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.7127, allocations: 181.4 kB / 0.9542 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.7128, allocations: 181.3 kB / 0.9544 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.7129, allocations: 417.5 kB / 0.9548 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.7129, allocations: 106.2 kB / 0.9549 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.7129, allocations: 105 kB / 0.955 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.278e-05/0.713, allocations: 193.6 kB / 0.9552 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.713, allocations: 185.3 kB / 0.9553 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.228e-05/0.713, allocations: 185.3 kB / 0.9555 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.149e-05/0.7131, allocations: 177.6 kB / 0.9557 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.451e-05/0.7131, allocations: 317 kB / 0.956 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.7132, allocations: 180.8 kB / 0.9561 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.7132, allocations: 181.6 kB / 0.9563 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.7133, allocations: 110.2 kB / 0.9564 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.7133, allocations: 185.5 kB / 0.9566 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.7133, allocations: 106.1 kB / 0.9567 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.7134, allocations: 121.1 kB / 0.9568 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7134, allocations: 0 / 0.9568 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000237/0.7136, allocations: 2.938 kB / 0.9568 GB, free: 1.219 MB / 0.7169 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.0002221/0.7139, allocations: 0.8116 MB / 0.9576 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.086e-05/0.7139, allocations: 6.062 kB / 0.9576 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.7139, allocations: 0 / 0.9576 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.7139, allocations: 0 / 0.9576 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.7142, allocations: 0.5262 MB / 0.9581 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.7155, allocations: 1.752 MB / 0.9598 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.7157, allocations: 0.6865 MB / 0.9605 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.7158, allocations: 4.188 kB / 0.9605 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.7158, allocations: 20.83 kB / 0.9605 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7158, allocations: 4 kB / 0.9605 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.7273, allocations: 1.396 MB / 0.9619 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.7275, allocations: 211.6 kB / 0.9621 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.484, allocations: 0 / 0.9621 GB, free: 12.51 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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