Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, 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.001571/0.001571, allocations: 191.7 kB / 16.13 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.98 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2752, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001795/0.2771, allocations: 0.6975 MB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000332/0.2774, allocations: 127.7 kB / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.2775, allocations: 0 / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.941e-05/0.2776, allocations: 0 / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.2778, allocations: 23.92 kB / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.286e-05/0.2779, allocations: 7.984 kB / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.278, allocations: 19.98 kB / 1.053 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.278, allocations: 20 kB / 1.053 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2782, allocations: 63.81 kB / 1.053 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.2782, allocations: 15.92 kB / 1.053 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2783, allocations: 4 kB / 1.053 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-06/0.2783, allocations: 0 / 1.053 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.2783, allocations: 19.92 kB / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.2783, allocations: 15.88 kB / 1.053 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.574e-05/0.2784, allocations: 43.88 kB / 1.053 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2784, allocations: 4 kB / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2784, allocations: 0 / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2785, allocations: 0 / 1.053 GB, free: 7.164 MB / 0.8106 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.0002855/0.2787, allocations: 343.7 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2788, allocations: 11.97 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.2788, allocations: 38.73 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.2789, allocations: 8.844 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.279, allocations: 196.1 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.279, allocations: 4.375 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.279, allocations: 8.375 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2792, allocations: 76.81 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2792, allocations: 3.938 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.2792, allocations: 0 / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2792, allocations: 0 / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.2792, allocations: 27.92 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.2796, allocations: 0.6011 MB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.2797, allocations: 165.1 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.2798, allocations: 84.14 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2798, allocations: 75.28 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.2798, allocations: 121.7 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2798, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.632e-05/0.2799, allocations: 33.7 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.28, allocations: 126.7 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2801, allocations: 159.2 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2801, allocations: 25.7 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.2802, allocations: 96.12 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.2802, allocations: 4 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.2802, allocations: 9.719 kB / 1.055 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.2803, allocations: 318.8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.2803, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.2803, allocations: 11.92 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.2804, allocations: 75.28 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.2804, allocations: 75.28 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.38e-05/0.2805, allocations: 37.55 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.2805, allocations: 85.19 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.2805, allocations: 79.28 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-05/0.2806, allocations: 154.5 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.712e-05/0.2806, allocations: 83.27 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-05/0.2807, allocations: 150.6 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2808, allocations: 87.16 kB / 1.056 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2808, allocations: 79.28 kB / 1.057 GB, free: 3.508 MB / 0.8106 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.0001091/0.2809, allocations: 272.4 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.281, allocations: 109 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.281, allocations: 108.9 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-05/0.2811, allocations: 200.2 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.2812, allocations: 180.3 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-05/0.2812, allocations: 180.2 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.2814, allocations: 417.1 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/0.2815, allocations: 105 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.2815, allocations: 108.9 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.725e-05/0.2816, allocations: 176.3 kB / 1.058 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.2817, allocations: 184.3 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.112e-05/0.2817, allocations: 184.2 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.808e-05/0.2818, allocations: 180.3 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.2819, allocations: 311.6 kB / 1.059 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.282, allocations: 194 kB / 1.059 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.282, allocations: 180.2 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.2821, allocations: 109 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.2822, allocations: 184.1 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.2822, allocations: 105 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.2823, allocations: 123.2 kB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.2823, allocations: 3.938 kB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002477/0.2826, allocations: 8 kB / 1.06 GB, free: 15.74 MB / 0.8262 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.0004111/0.283, allocations: 0.8087 MB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.103e-05/0.283, allocations: 0 / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.283, allocations: 4 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.2831, allocations: 3.938 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.2834, allocations: 0.5301 MB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2846, allocations: 1.837 MB / 1.063 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.2849, allocations: 0.6926 MB / 1.064 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.2849, allocations: 4 kB / 1.064 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.2849, allocations: 19.42 kB / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2849, allocations: 0 / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.2953, allocations: 1.424 MB / 1.065 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.2955, allocations: 215.1 kB / 1.065 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.967, allocations: 2.25 kB / 1.065 GB, free: 10.17 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches