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.001788/0.001788, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002317/0.002317, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.546/1.546, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.594/2.594, allocations: 390.2 MB / 0.6644 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 71.89 kB / 0.8122 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8078, allocations: 140.4 MB / 0.9493 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001855/0.8097, allocations: 0.6565 MB / 0.9499 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.8101, allocations: 99.75 kB / 0.95 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.8101, allocations: 0 / 0.95 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.8103, allocations: 13.55 kB / 0.95 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.8106, allocations: 19.17 kB / 0.95 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.127e-05/0.8107, allocations: 10.48 kB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.8108, allocations: 28.11 kB / 0.9501 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.8109, allocations: 23.67 kB / 0.9501 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.811, allocations: 54.14 kB / 0.9501 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.811, allocations: 21.36 kB / 0.9502 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.8111, allocations: 2.75 kB / 0.9502 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.8111, allocations: 5.375 kB / 0.9502 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.8111, allocations: 22.78 kB / 0.9502 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.8112, allocations: 16 kB / 0.9502 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.737e-05/0.8112, allocations: 48.19 kB / 0.9502 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8113, allocations: 1.375 kB / 0.9502 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8113, allocations: 0 / 0.9502 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8113, allocations: 0 / 0.9502 GB, free: 8.375 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.0002687/0.8115, allocations: 352.7 kB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8116, allocations: 9.625 kB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.401e-05/0.8116, allocations: 36.06 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.8116, allocations: 15.58 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.8118, allocations: 180.5 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.8118, allocations: 11.11 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.8118, allocations: 3.125 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.8119, allocations: 88.61 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.812, allocations: 1.375 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.812, allocations: 0 / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.812, allocations: 1.375 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.812, allocations: 32.3 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.8123, allocations: 0.5955 MB / 0.9515 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.684e-05/0.8124, allocations: 170.5 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.8124, allocations: 84.14 kB / 0.9518 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.8124, allocations: 76.66 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.8125, allocations: 109.8 kB / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8125, allocations: 0 / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.581e-05/0.8125, allocations: 41.66 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.8126, allocations: 130.6 kB / 0.9521 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.8127, allocations: 159.8 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.8127, allocations: 27.08 kB / 0.9523 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.8128, allocations: 94.88 kB / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.8128, allocations: 0 / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.8128, allocations: 12.47 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.8128, allocations: 316.2 kB / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.8128, allocations: 1.375 kB / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.8129, allocations: 5.359 kB / 0.9527 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.729e-05/0.8129, allocations: 80.69 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.8129, allocations: 75.28 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.068e-05/0.813, allocations: 40.61 kB / 0.9529 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.813, allocations: 83.34 kB / 0.953 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.813, allocations: 80.66 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.813, allocations: 151.9 kB / 0.9532 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-05/0.8131, allocations: 83.16 kB / 0.9533 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.8131, allocations: 159.9 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.8132, allocations: 81.97 kB / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.8132, allocations: 75.28 kB / 0.9536 GB, free: 4.887 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.022e-05/0.8133, allocations: 271.3 kB / 0.9538 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.8133, allocations: 107.6 kB / 0.9539 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.8134, allocations: 128.6 kB / 0.9541 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/0.8134, allocations: 181.6 kB / 0.9542 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/0.8134, allocations: 184.2 kB / 0.9544 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/0.8135, allocations: 177.6 kB / 0.9546 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.8136, allocations: 418.1 kB / 0.955 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.8136, allocations: 106.6 kB / 0.9551 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.8137, allocations: 109 kB / 0.9552 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.674e-05/0.8137, allocations: 181.8 kB / 0.9553 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.8137, allocations: 184.2 kB / 0.9555 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-05/0.8138, allocations: 185.6 kB / 0.9557 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.652e-05/0.8138, allocations: 185.3 kB / 0.9559 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.915e-05/0.8139, allocations: 309.3 kB / 0.9562 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.8139, allocations: 188.8 kB / 0.9564 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.8139, allocations: 181.7 kB / 0.9565 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.814, allocations: 110.4 kB / 0.9566 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.814, allocations: 177.5 kB / 0.9568 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.8141, allocations: 110.4 kB / 0.9569 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.488e-05/0.8141, allocations: 124.1 kB / 0.957 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8141, allocations: 0 / 0.957 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002375/0.8144, allocations: 3.781 kB / 0.957 GB, free: 1.188 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.0002213/0.8146, allocations: 0.8126 MB / 0.9578 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.443e-05/0.8147, allocations: 5.438 kB / 0.9578 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8147, allocations: 0 / 0.9578 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.8147, allocations: 0 / 0.9578 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.815, allocations: 464.7 kB / 0.9583 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.8162, allocations: 1.744 MB / 0.96 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.8164, allocations: 0.6859 MB / 0.9606 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.8164, allocations: 7.016 kB / 0.9606 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.8165, allocations: 17.88 kB / 0.9607 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.8165, allocations: 0 / 0.9607 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.8282, allocations: 1.431 MB / 0.9621 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.8284, allocations: 219.8 kB / 0.9623 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.669, allocations: 0 / 0.9623 GB, free: 12.55 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