Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 3.017/3.017, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7882, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002151/0.7904, allocations: 0.6304 MB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004723/0.7909, allocations: 107.7 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.7909, allocations: 7.938 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.791, allocations: 4 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.7914, allocations: 31.91 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.25e-05/0.7915, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7916, allocations: 27.92 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.7918, allocations: 19.98 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.7919, allocations: 59.88 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.792, allocations: 11.94 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.792, allocations: 8 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.792, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.7921, allocations: 11.98 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.7922, allocations: 15.88 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.7923, allocations: 47.8 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7923, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7923, allocations: 4 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.7923, allocations: 0 / 1.018 GB, free: 1.5 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.0005077/0.7928, allocations: 361.2 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7929, allocations: 12.03 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.7929, allocations: 8.844 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.7932, allocations: 184.2 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7932, allocations: 4.375 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.7932, allocations: 4.375 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.7934, allocations: 72.81 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.7934, allocations: 4.125 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7934, allocations: 11.94 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.7935, allocations: 11.98 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.7935, allocations: 19.98 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.7941, allocations: 0.5972 MB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.7942, allocations: 169.1 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.7943, allocations: 92.11 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.7943, allocations: 75.28 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/0.7944, allocations: 109.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7944, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.917e-05/0.7945, allocations: 33.61 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.7946, allocations: 126.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.7948, allocations: 159.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.7948, allocations: 25.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.7949, allocations: 100.1 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.7949, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.7949, allocations: 13.72 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7951, allocations: 314.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.7951, allocations: 7.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.7951, allocations: 7.984 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.7952, allocations: 79.31 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-05/0.7952, allocations: 75.28 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.793e-05/0.7953, allocations: 33.61 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/0.7954, allocations: 83.28 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-05/0.7954, allocations: 83.16 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.541e-05/0.7955, allocations: 150.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.7956, allocations: 79.27 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.969e-05/0.7957, allocations: 162.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.7959, allocations: 83.22 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.7959, allocations: 79.22 kB / 1.022 GB, free: 13.88 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.0001964/0.7961, allocations: 272.4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.7962, allocations: 108.9 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.7963, allocations: 112.9 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/0.7964, allocations: 184.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/0.7965, allocations: 176.3 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001189/0.7967, allocations: 192.1 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.7971, allocations: 417.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.645e-05/0.7972, allocations: 105 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.7973, allocations: 108.9 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.7974, allocations: 180.3 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.7975, allocations: 180.2 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-05/0.7976, allocations: 184.6 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001314/0.7977, allocations: 176.3 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.7979, allocations: 319.6 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.7981, allocations: 190 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.7982, allocations: 180.3 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.7983, allocations: 105 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7984, allocations: 188.2 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.7985, allocations: 104.9 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001169/0.7986, allocations: 128.2 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7986, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003053/0.7989, allocations: 4 kB / 1.025 GB, free: 10.11 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.0002476/0.7992, allocations: 176.4 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/0.7993, allocations: 3.938 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7993, allocations: 4 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.7993, allocations: 0 / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.7998, allocations: 462.2 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.8001, allocations: 208.3 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.8005, allocations: 0.6963 MB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.658e-05/0.8006, allocations: 7.938 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.8006, allocations: 11.44 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8006, allocations: 0 / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of Templates: time 0.00312/0.8037, allocations: 406.6 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches