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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00129/0.00129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001455/0.001455, allocations: 193.8 kB / 16.26 MB, free: 6.625 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 69.62 kB / 0.9116 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3982, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002295/0.4005, allocations: 0.6976 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004219/0.401, allocations: 105.9 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.401, allocations: 4 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.4012, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.4016, allocations: 35.91 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.125e-05/0.4017, allocations: 4 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.4018, allocations: 27.92 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4019, allocations: 23.97 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.402, allocations: 59.89 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.4021, allocations: 19.92 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.4021, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.4022, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.4022, allocations: 27.86 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.4023, allocations: 15.88 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.557e-05/0.4024, allocations: 43.86 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4024, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4024, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.4024, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 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.0004177/0.4028, allocations: 355.5 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4029, allocations: 12.03 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.4029, allocations: 4.938 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.4031, allocations: 180.2 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4031, allocations: 8.375 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.4032, allocations: 4.375 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.4033, allocations: 76.8 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4034, allocations: 4.172 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4034, allocations: 7.938 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4034, allocations: 4 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.803e-05/0.4035, allocations: 27.92 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.404, allocations: 0.601 MB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.4041, allocations: 173.1 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.4042, allocations: 84.14 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.4042, allocations: 75.28 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.4043, allocations: 109.8 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4043, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001795/0.4045, allocations: 33.61 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.4045, allocations: 130.7 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.4048, allocations: 159.5 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.4048, allocations: 25.7 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.4048, allocations: 92.14 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.4049, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.4049, allocations: 17.66 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4051, allocations: 322.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.4051, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.4051, allocations: 12 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.4052, allocations: 79.22 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/0.4052, allocations: 75.28 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.439e-05/0.4053, allocations: 33.69 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.4053, allocations: 79.28 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.4054, allocations: 79.28 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-05/0.4055, allocations: 158.4 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.4055, allocations: 79.31 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001038/0.4056, allocations: 154.5 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.4058, allocations: 87.12 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.4058, allocations: 79.28 kB / 1.072 GB, free: 6.062 MB / 0.8262 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.0002003/0.406, allocations: 268.4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.4061, allocations: 109.1 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.4062, allocations: 124.6 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.4063, allocations: 184.2 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.835e-05/0.4063, allocations: 180.3 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-05/0.4064, allocations: 184.2 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4067, allocations: 421.1 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/0.4067, allocations: 105 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.4068, allocations: 112.9 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-05/0.4068, allocations: 176.3 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.4069, allocations: 184.3 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.411e-05/0.407, allocations: 180.2 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.894e-05/0.407, allocations: 180.3 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.4072, allocations: 319.6 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.4073, allocations: 189.9 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.4074, allocations: 180.2 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4075, allocations: 105 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.4076, allocations: 184.2 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/0.4077, allocations: 108.9 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001022/0.4078, allocations: 116.8 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4078, allocations: 0 / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002645/0.408, allocations: 8 kB / 1.076 GB, free: 2.293 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.0002265/0.4083, allocations: 182.5 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.471e-05/0.4083, allocations: 7.938 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4084, allocations: 4 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.4084, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.4089, allocations: 455.7 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.4092, allocations: 228 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.4096, allocations: 0.6846 MB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.4096, allocations: 4 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.4096, allocations: 11.44 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4096, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.00267/0.4123, allocations: 428.4 kB / 1.077 GB, free: 256 kB / 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/jenkins/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