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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008552, allocations: 91.77 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.01039/0.01039, allocations: 171.7 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.756/2.756, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 15.98 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8092, allocations: 142.4 MB / 0.9551 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0006544/0.8099, allocations: 334.8 kB / 0.9554 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003181/0.8103, allocations: 103.3 kB / 0.9555 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.8103, allocations: 1.094 kB / 0.9555 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.684e-05/0.8104, allocations: 3.984 kB / 0.9555 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.8107, allocations: 27.12 kB / 0.9555 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.556e-05/0.8107, allocations: 5.5 kB / 0.9555 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.8108, allocations: 30.7 kB / 0.9555 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.8109, allocations: 20.08 kB / 0.9556 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.811, allocations: 50.41 kB / 0.9556 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.8111, allocations: 7.594 kB / 0.9556 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.178e-06/0.8111, allocations: 5.156 kB / 0.9556 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-06/0.8111, allocations: 5.094 kB / 0.9556 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.8112, allocations: 17.45 kB / 0.9556 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.8112, allocations: 42.17 kB / 0.9557 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.284e-05/0.8113, allocations: 42.94 kB / 0.9557 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8113, allocations: 1.125 kB / 0.9557 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8113, allocations: 0 / 0.9557 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.8113, allocations: 0 / 0.9557 GB, free: 7.523 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.0002462/0.8115, allocations: 348.2 kB / 0.956 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.8116, allocations: 8.562 kB / 0.9561 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.8116, allocations: 7.844 kB / 0.9561 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.8117, allocations: 185.9 kB / 0.9562 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.8118, allocations: 5.781 kB / 0.9562 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.8118, allocations: 3.281 kB / 0.9562 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.8119, allocations: 77.84 kB / 0.9563 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8119, allocations: 0 / 0.9563 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.8119, allocations: 5.656 kB / 0.9563 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.8119, allocations: 0 / 0.9563 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/0.812, allocations: 28.64 kB / 0.9564 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.8123, allocations: 0.6074 MB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.993e-05/0.8123, allocations: 166.3 kB / 0.9571 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.8123, allocations: 88.12 kB / 0.9572 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.8123, allocations: 75.28 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.8124, allocations: 111 kB / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.8124, allocations: 0 / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.936e-05/0.8124, allocations: 33.05 kB / 0.9574 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.8125, allocations: 127.7 kB / 0.9575 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.8126, allocations: 162.7 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.8126, allocations: 26.8 kB / 0.9577 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.8126, allocations: 99.5 kB / 0.9578 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-06/0.8126, allocations: 0 / 0.9578 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.8127, allocations: 9.719 kB / 0.9578 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.8127, allocations: 317.8 kB / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-06/0.8127, allocations: 0 / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.8127, allocations: 6.125 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.164e-05/0.8128, allocations: 80.41 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.8128, allocations: 75.28 kB / 0.9583 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.634e-05/0.8128, allocations: 34.08 kB / 0.9583 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.8129, allocations: 80.78 kB / 0.9584 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.8129, allocations: 86.52 kB / 0.9585 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.8129, allocations: 154.5 kB / 0.9586 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-06/0.8129, allocations: 80.23 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.8129, allocations: 163.5 kB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/0.813, allocations: 85.62 kB / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.8131, allocations: 76.41 kB / 0.959 GB, free: 4.086 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 6.172e-05/0.8131, allocations: 266 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.8132, allocations: 112.6 kB / 0.9594 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.8132, allocations: 112.8 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.8132, allocations: 188.2 kB / 0.9596 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/0.8133, allocations: 185.4 kB / 0.9598 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.8133, allocations: 181.3 kB / 0.96 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.8134, allocations: 417.3 kB / 0.9604 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.8134, allocations: 102.3 kB / 0.9605 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.8134, allocations: 113.9 kB / 0.9606 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/0.8135, allocations: 186.1 kB / 0.9608 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.8135, allocations: 185.2 kB / 0.9609 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/0.8135, allocations: 184.2 kB / 0.9611 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.133e-05/0.8136, allocations: 181.2 kB / 0.9613 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.886e-05/0.8136, allocations: 313.6 kB / 0.9616 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.8137, allocations: 189.9 kB / 0.9618 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.8137, allocations: 181.3 kB / 0.9619 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.8138, allocations: 102.2 kB / 0.962 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.8138, allocations: 185.4 kB / 0.9622 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.8138, allocations: 113 kB / 0.9623 GB, free: 492 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.039e-05/0.8139, allocations: 122.6 kB / 0.9624 GB, free: 396 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8139, allocations: 0 / 0.9624 GB, free: 396 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002448/0.8142, allocations: 2.75 kB / 0.9625 GB, free: 396 kB / 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 9.632e-05/0.8143, allocations: 172.4 kB / 0.9626 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.99e-05/0.8143, allocations: 1.062 kB / 0.9626 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8143, allocations: 0 / 0.9626 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.8143, allocations: 9.031 kB / 0.9626 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.8147, allocations: 0.5208 MB / 0.9631 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.8149, allocations: 212.3 kB / 0.9633 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.8152, allocations: 0.6869 MB / 0.964 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.54e-05/0.8152, allocations: 3.656 kB / 0.964 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.8152, allocations: 11.41 kB / 0.964 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8152, allocations: 0 / 0.964 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.002422/0.8177, allocations: 401.5 kB / 0.9644 GB, free: 14.57 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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