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.001392/0.001391, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001325/0.001325, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.739/1.739, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.565/2.565, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.12 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.319, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001737/0.3207, allocations: 0.5885 MB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.3211, allocations: 119.7 kB / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.3211, allocations: 0 / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.057e-05/0.3212, allocations: 11.92 kB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.3215, allocations: 23.92 kB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.482e-05/0.3216, allocations: 11.98 kB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.3216, allocations: 27.97 kB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.3217, allocations: 20 kB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3219, allocations: 55.83 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.3219, allocations: 15.92 kB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.322, allocations: 4 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.322, allocations: 0 / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.322, allocations: 15.98 kB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.3221, allocations: 19.86 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.713e-05/0.3221, allocations: 43.83 kB / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3222, allocations: 0 / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3222, allocations: 3.938 kB / 1.019 GB, free: 9.688 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3222, allocations: 0 / 1.019 GB, free: 9.688 MB / 0.795 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.0003827/0.3226, allocations: 357.7 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3226, allocations: 12.86 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.3226, allocations: 8.844 kB / 1.019 GB, free: 9.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3228, allocations: 180.3 kB / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3228, allocations: 4.375 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3228, allocations: 12.31 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.323, allocations: 76.81 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.323, allocations: 192 / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.323, allocations: 7.938 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.323, allocations: 0 / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.3231, allocations: 31.91 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.3236, allocations: 0.6089 MB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.3237, allocations: 165.1 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.3237, allocations: 84.14 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.3237, allocations: 75.28 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.3238, allocations: 109.8 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3238, allocations: 0 / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.148e-05/0.3239, allocations: 37.64 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.324, allocations: 126.7 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3241, allocations: 157.8 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3241, allocations: 25.7 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.3242, allocations: 92.14 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.3242, allocations: 4 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.3242, allocations: 9.719 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3244, allocations: 326.8 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-06/0.3244, allocations: 0 / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.3244, allocations: 4 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.3245, allocations: 75.28 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/0.3245, allocations: 75.28 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.39e-05/0.3246, allocations: 43.06 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.3246, allocations: 83.31 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.3247, allocations: 83.27 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.512e-05/0.3247, allocations: 150.6 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.339e-05/0.3248, allocations: 87.16 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.43e-05/0.3248, allocations: 150.6 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.325, allocations: 91.19 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.325, allocations: 83.22 kB / 1.022 GB, free: 6.059 MB / 0.795 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.0001411/0.3252, allocations: 272.4 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.3253, allocations: 108.8 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.3253, allocations: 112.8 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-05/0.3254, allocations: 184.3 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.098e-05/0.3255, allocations: 184.2 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.658e-05/0.3256, allocations: 180.2 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3258, allocations: 421.4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-05/0.3259, allocations: 101 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.3259, allocations: 105 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.478e-05/0.326, allocations: 188.2 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.3261, allocations: 180.3 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.776e-05/0.3262, allocations: 180.2 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-05/0.3263, allocations: 180.3 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.3264, allocations: 315.6 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3266, allocations: 194 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.3267, allocations: 184.2 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.3267, allocations: 109 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.3268, allocations: 180.2 kB / 1.025 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.3269, allocations: 108.9 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001001/0.327, allocations: 121.4 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.327, allocations: 4 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002618/0.3273, allocations: 4 kB / 1.026 GB, free: 2.297 MB / 0.795 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.0001406/0.3274, allocations: 170.5 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 3.806e-05/0.3274, allocations: 7.984 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3275, allocations: 0 / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3275, allocations: 0 / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.3279, allocations: 467.6 kB / 1.026 GB, free: 1.648 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.3282, allocations: 230 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3285, allocations: 0.6885 MB / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.3285, allocations: 7.438 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of SimCode: time 1.974e-06/0.3285, allocations: 4 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of Templates: time 0.001963/0.3305, allocations: 0.7067 MB / 1.028 GB, free: 15.95 MB / 0.8106 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/jenkins1/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