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.001393/0.001393, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001526/0.001526, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.477/2.477, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 69.56 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2944, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002163/0.2966, allocations: 0.6366 MB / 1.019 GB, free: 9.969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004313/0.297, allocations: 115.7 kB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.2971, allocations: 0 / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2973, allocations: 7.984 kB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.2976, allocations: 31.86 kB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.756e-05/0.2977, allocations: 7.984 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.2978, allocations: 27.98 kB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2979, allocations: 16 kB / 1.019 GB, free: 9.766 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2981, allocations: 55.88 kB / 1.019 GB, free: 9.711 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.2981, allocations: 15.92 kB / 1.019 GB, free: 9.695 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2982, allocations: 8 kB / 1.019 GB, free: 9.688 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.2982, allocations: 7.938 kB / 1.019 GB, free: 9.68 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.2982, allocations: 11.94 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2983, allocations: 23.86 kB / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.2984, allocations: 35.88 kB / 1.019 GB, free: 9.609 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2984, allocations: 0 / 1.019 GB, free: 9.609 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2984, allocations: 0 / 1.019 GB, free: 9.609 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2984, allocations: 4 kB / 1.019 GB, free: 9.605 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.0003685/0.2988, allocations: 355.5 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2988, allocations: 12.92 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.2989, allocations: 8.844 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.299, allocations: 184.3 kB / 1.019 GB, free: 8.969 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2991, allocations: 384 / 1.019 GB, free: 8.969 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2991, allocations: 4.375 kB / 1.019 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.2992, allocations: 80.75 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2992, allocations: 192 / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2993, allocations: 3.938 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.2993, allocations: 4 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.2993, allocations: 31.97 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.2998, allocations: 0.5972 MB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.2999, allocations: 173.1 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.2999, allocations: 84.14 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2999, allocations: 79.22 kB / 1.02 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3, allocations: 109.8 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.3, allocations: 0 / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.884e-05/0.3001, allocations: 29.7 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.3002, allocations: 130.6 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3003, allocations: 161.8 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3003, allocations: 25.7 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.3004, allocations: 92.14 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.3004, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.3004, allocations: 13.72 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3005, allocations: 322.8 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-06/0.3005, allocations: 0 / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.3006, allocations: 8 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.3006, allocations: 79.31 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/0.3006, allocations: 79.22 kB / 1.021 GB, free: 6.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.148e-05/0.3007, allocations: 35.14 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3007, allocations: 79.28 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.3008, allocations: 91.2 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-05/0.3008, allocations: 150.6 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.3009, allocations: 79.22 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.563e-05/0.3009, allocations: 154.6 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3011, allocations: 87.25 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3011, allocations: 79.22 kB / 1.022 GB, free: 5.988 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.0001183/0.3012, allocations: 274.8 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.3013, allocations: 108.9 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.3014, allocations: 120.8 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.95e-05/0.3014, allocations: 180.3 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.523e-05/0.3015, allocations: 176.3 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.124e-05/0.3016, allocations: 184.1 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3018, allocations: 417.5 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/0.3018, allocations: 108.9 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.3019, allocations: 105 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-05/0.3019, allocations: 184.3 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.302, allocations: 180.2 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.94e-05/0.3021, allocations: 180.3 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-05/0.3021, allocations: 184.2 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.3023, allocations: 311.7 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.3024, allocations: 197.9 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.3024, allocations: 176.3 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.3025, allocations: 108.9 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.3026, allocations: 184.2 kB / 1.025 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.3026, allocations: 108.9 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.978e-05/0.3027, allocations: 129.8 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3027, allocations: 0 / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002681/0.303, allocations: 4 kB / 1.026 GB, free: 2.223 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.0001244/0.3031, allocations: 172.8 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.175e-05/0.3032, allocations: 7.984 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3032, allocations: 4 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3032, allocations: 0 / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3036, allocations: 465.5 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.3039, allocations: 238 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3042, allocations: 0.6885 MB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.3042, allocations: 15.38 kB / 1.027 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.3042, allocations: 0 / 1.027 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of Templates: time 0.002041/0.3063, allocations: 0.7106 MB / 1.028 GB, free: 15.87 MB / 0.8106 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=480 -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/jenkins1/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