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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.012/0.012, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001602/0.001603, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.894/2.894, allocations: 461.8 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3597, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002185/0.362, allocations: 0.6113 MB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004554/0.3625, allocations: 103.7 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.3625, allocations: 0 / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.3627, allocations: 11.92 kB / 1.208 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005619/0.3633, allocations: 23.92 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.966e-05/0.3634, allocations: 4 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3635, allocations: 31.91 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3637, allocations: 23.98 kB / 1.209 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.3639, allocations: 63.83 kB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.3639, allocations: 15.92 kB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.364, allocations: 0 / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.364, allocations: 4 kB / 1.209 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.364, allocations: 11.98 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.3641, allocations: 19.88 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.3642, allocations: 47.81 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3642, allocations: 3.984 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3642, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.3643, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.9669 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.0005307/0.3648, allocations: 355.3 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/0.3649, allocations: 8.625 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.3649, allocations: 8.844 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3653, allocations: 184.2 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3653, allocations: 384 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3653, allocations: 8.375 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3656, allocations: 80.75 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3656, allocations: 4.188 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.3656, allocations: 7.922 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.3656, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.3657, allocations: 23.92 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.3665, allocations: 0.605 MB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.3667, allocations: 165.1 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.3667, allocations: 80.14 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/0.3668, allocations: 75.28 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.3669, allocations: 113.8 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 4.589e-06/0.3669, allocations: 7.984 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001383/0.3671, allocations: 29.61 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.3672, allocations: 134.7 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.3675, allocations: 153.8 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3675, allocations: 29.7 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.3676, allocations: 92.14 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.3676, allocations: 4 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.3676, allocations: 9.719 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.3679, allocations: 326.8 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.3679, allocations: 0 / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.3679, allocations: 0 / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.368, allocations: 75.28 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.53e-05/0.3681, allocations: 79.28 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.695e-05/0.3681, allocations: 41.53 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/0.3682, allocations: 87.25 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/0.3683, allocations: 75.28 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.3684, allocations: 154.5 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.3684, allocations: 83.31 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.807e-05/0.3686, allocations: 155.1 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3688, allocations: 83.16 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.3689, allocations: 83.28 kB / 1.212 GB, free: 5.09 MB / 0.9669 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.0002297/0.3691, allocations: 268.4 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3693, allocations: 112.8 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3694, allocations: 113 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001235/0.3695, allocations: 176.3 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001461/0.3696, allocations: 196.2 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/0.3698, allocations: 180.2 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.3702, allocations: 417.1 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.526e-05/0.3702, allocations: 101 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.3703, allocations: 112.9 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.3704, allocations: 180.3 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.3706, allocations: 184.3 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.591e-05/0.3707, allocations: 184.1 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.04e-05/0.3708, allocations: 176.3 kB / 1.214 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.371, allocations: 319.7 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3712, allocations: 190 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.3713, allocations: 180.2 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3714, allocations: 105 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3716, allocations: 184.2 kB / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/0.3716, allocations: 108.9 kB / 1.215 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001301/0.3718, allocations: 120.8 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3718, allocations: 4 kB / 1.215 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003856/0.3722, allocations: 4 kB / 1.215 GB, free: 1.328 MB / 0.9669 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.0002666/0.3724, allocations: 174.5 kB / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.3725, allocations: 0 / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3726, allocations: 0 / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.3726, allocations: 3.938 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.3732, allocations: 475 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.3736, allocations: 218.6 kB / 1.216 GB, free: 452 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.374, allocations: 0.6845 MB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.3741, allocations: 7.984 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.3741, allocations: 7.438 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3741, allocations: 0 / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of Templates: time 0.002954/0.3771, allocations: 420.7 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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