Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001081/0.001081, 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.001116/0.001116, allocations: 195.2 kB / 16.14 MB, free: 6.695 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 / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.91 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6891, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002169/0.6913, allocations: 0.6804 MB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004154/0.6918, allocations: 107.7 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.6918, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.692, allocations: 3.938 kB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.6924, allocations: 31.97 kB / 1.017 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.118e-05/0.6924, allocations: 7.938 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.6925, allocations: 31.91 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.6926, allocations: 19.98 kB / 1.017 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.6928, allocations: 47.91 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.6928, allocations: 19.92 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.6928, allocations: 4 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.6929, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.6929, allocations: 19.91 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.693, allocations: 19.88 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.19e-05/0.693, allocations: 39.81 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6931, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6931, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6931, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 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.0003799/0.6935, allocations: 361.3 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6935, allocations: 8.031 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.6935, allocations: 8.844 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.6937, allocations: 184.2 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.6938, allocations: 4.375 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.6938, allocations: 384 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.694, allocations: 84.75 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.694, allocations: 192 / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.694, allocations: 3.938 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.694, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.6941, allocations: 19.98 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.6946, allocations: 0.605 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.6947, allocations: 173.1 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.6948, allocations: 80.14 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.6948, allocations: 75.28 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.241e-05/0.6949, allocations: 113.8 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.754e-06/0.6949, allocations: 3.938 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.06e-05/0.695, allocations: 33.61 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.6951, allocations: 134.7 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.6953, allocations: 160.1 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.6953, allocations: 25.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.6953, allocations: 96.12 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.6954, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.6954, allocations: 9.719 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6955, allocations: 326.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-06/0.6955, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.6956, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.6956, allocations: 83.31 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-05/0.6956, allocations: 79.28 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.159e-05/0.6957, allocations: 33.61 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.6958, allocations: 79.28 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.6958, allocations: 79.22 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-05/0.6959, allocations: 154.6 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/0.6959, allocations: 91.23 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.438e-05/0.696, allocations: 150.6 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.6962, allocations: 83.22 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.6962, allocations: 79.22 kB / 1.021 GB, free: 14.17 MB / 0.7794 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.000175/0.6964, allocations: 272.9 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.6964, allocations: 112.9 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.6965, allocations: 116.8 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.474e-05/0.6966, allocations: 184.2 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-05/0.6967, allocations: 180.3 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-05/0.6968, allocations: 184.1 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.697, allocations: 417.2 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/0.6971, allocations: 109.2 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.6972, allocations: 101 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-05/0.6973, allocations: 184.3 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.6973, allocations: 188.2 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.431e-05/0.6974, allocations: 176.3 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.368e-05/0.6975, allocations: 180.2 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.6977, allocations: 315.7 kB / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.6978, allocations: 193.9 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.6979, allocations: 180.3 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.698, allocations: 104.9 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6982, allocations: 180.3 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.6982, allocations: 112.9 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001149/0.6984, allocations: 124.8 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6984, allocations: 0 / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002943/0.6987, allocations: 7.938 kB / 1.024 GB, free: 10.4 MB / 0.7794 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.0001511/0.6988, allocations: 170.5 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.084e-05/0.6989, allocations: 4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6989, allocations: 4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.6989, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.6993, allocations: 0.5185 MB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.6997, allocations: 218 kB / 1.025 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.7, allocations: 0.6926 MB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.7001, allocations: 3.938 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.7001, allocations: 11.44 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of SimCode: time 8.31e-07/0.7001, allocations: 0 / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of Templates: time 0.003034/0.7032, allocations: 408.5 kB / 1.026 GB, free: 8.316 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches