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: 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_latest_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_latest_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.00673/0.00673, allocations: 100.5 kB / 15.87 MB, free: 5.863 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.001584/0.001584, allocations: 188.9 kB / 16.79 MB, free: 5.805 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.94 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002277/0.3013, allocations: 0.6936 MB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.3017, allocations: 111.7 kB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.3018, allocations: 0 / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3019, allocations: 4 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.3023, allocations: 27.92 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.182e-05/0.3024, allocations: 7.984 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.3025, allocations: 23.92 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3026, allocations: 35.95 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3028, allocations: 51.91 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.3029, allocations: 15.92 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3029, allocations: 0 / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.3029, allocations: 4 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.303, allocations: 15.92 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.303, allocations: 15.88 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.62e-05/0.3031, allocations: 35.92 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3031, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3032, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3032, allocations: 4 kB / 1.054 GB, free: 7.203 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.0004834/0.3037, allocations: 351.6 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3037, allocations: 11.97 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.3038, allocations: 8.844 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.304, allocations: 188.2 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.304, allocations: 4.375 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3041, allocations: 4.359 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3043, allocations: 84.81 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3043, allocations: 192 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3043, allocations: 3.938 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3043, allocations: 0 / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.3044, allocations: 31.86 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.3052, allocations: 0.6011 MB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.3054, allocations: 169.1 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.3055, allocations: 80.14 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.3055, allocations: 79.22 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3057, allocations: 117.8 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.3057, allocations: 0 / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.956e-05/0.3059, allocations: 29.7 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3059, allocations: 134.7 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3061, allocations: 155.4 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3062, allocations: 25.7 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.3063, allocations: 96.12 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.3063, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.3063, allocations: 9.719 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3065, allocations: 326.8 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/0.3065, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.3065, allocations: 3.938 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.3066, allocations: 83.27 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-05/0.3066, allocations: 75.28 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.234e-05/0.3067, allocations: 33.61 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.3067, allocations: 79.28 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/0.3068, allocations: 79.28 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-05/0.3069, allocations: 162.5 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.3069, allocations: 75.28 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.042e-05/0.307, allocations: 154.5 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3072, allocations: 91.14 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.3073, allocations: 75.28 kB / 1.057 GB, free: 3.586 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.0001278/0.3074, allocations: 268.4 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.3075, allocations: 116.8 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.3075, allocations: 113.1 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.935e-05/0.3076, allocations: 188.2 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-05/0.3077, allocations: 180.3 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.659e-05/0.3077, allocations: 184.2 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.308, allocations: 421.2 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/0.308, allocations: 105 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.308, allocations: 104.9 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.176e-05/0.3081, allocations: 180.3 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.3082, allocations: 176.3 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.994e-05/0.3082, allocations: 184.2 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.188e-05/0.3083, allocations: 184.2 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.3085, allocations: 311.6 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.3085, allocations: 193.9 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.3086, allocations: 184.2 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.3087, allocations: 105 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.3088, allocations: 180.2 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.3088, allocations: 112.9 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001059/0.3089, allocations: 125.1 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3089, allocations: 0 / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002755/0.3092, allocations: 4 kB / 1.061 GB, free: 15.82 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.0001426/0.3094, allocations: 174.5 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.642e-05/0.3094, allocations: 3.938 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3094, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3094, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3099, allocations: 0.5224 MB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.3102, allocations: 256.6 kB / 1.061 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.3105, allocations: 0.6926 MB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.3105, allocations: 11.44 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3105, allocations: 0 / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.002161/0.3127, allocations: 0.7077 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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