Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008028/0.008028, allocations: 105.8 kB / 15.74 MB, free: 6.055 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.001518/0.001518, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 75.86 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.063, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.00204/1.065, allocations: 0.6361 MB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004148/1.066, allocations: 113 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/1.066, allocations: 5 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/1.066, allocations: 1.406 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004291/1.066, allocations: 29.72 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.771e-05/1.066, allocations: 3.812 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/1.067, allocations: 34.33 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/1.067, allocations: 25.69 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/1.067, allocations: 51.45 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/1.067, allocations: 14.53 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/1.067, allocations: 2.75 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/1.067, allocations: 2.406 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/1.067, allocations: 21.77 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/1.067, allocations: 17.25 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/1.067, allocations: 51.36 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.067, allocations: 4 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/1.067, allocations: 0 / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.067, allocations: 0 / 1.089 GB, free: 4.938 MB / 0.8575 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.0003397/1.068, allocations: 351.8 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.068, allocations: 14.16 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/1.068, allocations: 3.672 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/1.068, allocations: 179.7 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/1.068, allocations: 2.516 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/1.068, allocations: 7.531 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/1.068, allocations: 86.31 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.068, allocations: 4.125 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/1.068, allocations: 9.781 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/1.068, allocations: 1.219 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.216e-05/1.068, allocations: 25.05 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/1.069, allocations: 0.6034 MB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/1.069, allocations: 174.5 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/1.069, allocations: 80.8 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/1.069, allocations: 76.34 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.069, allocations: 110.4 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/1.069, allocations: 0.8125 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.68e-05/1.069, allocations: 29.83 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.069, allocations: 131.1 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/1.069, allocations: 162 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/1.069, allocations: 25.7 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/1.069, allocations: 93.98 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/1.069, allocations: 0 / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/1.069, allocations: 20.3 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/1.069, allocations: 318.9 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-06/1.069, allocations: 0 / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/1.069, allocations: 4.438 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/1.069, allocations: 79.28 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.069, allocations: 76.95 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.558e-05/1.069, allocations: 34.62 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.069, allocations: 80.45 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.069, allocations: 84.95 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/1.069, allocations: 151.7 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.491e-05/1.069, allocations: 81.19 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-05/1.07, allocations: 152.6 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/1.07, allocations: 85.09 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/1.07, allocations: 85.2 kB / 1.092 GB, free: 1.566 MB / 0.8575 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.0002111/1.07, allocations: 269.3 kB / 1.092 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/1.07, allocations: 113.5 kB / 1.093 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/1.07, allocations: 117.7 kB / 1.093 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/1.07, allocations: 179.2 kB / 1.093 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.05e-05/1.07, allocations: 176.3 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/1.07, allocations: 195.1 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/1.071, allocations: 420.6 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.091e-05/1.071, allocations: 109.5 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/1.071, allocations: 103.4 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-05/1.071, allocations: 178 kB / 1.094 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.071, allocations: 189.8 kB / 1.094 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.15e-05/1.071, allocations: 177.7 kB / 1.094 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.063e-05/1.071, allocations: 186.7 kB / 1.094 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/1.071, allocations: 315.2 kB / 1.095 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.071, allocations: 186.8 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/1.071, allocations: 183.4 kB / 1.095 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/1.072, allocations: 105.5 kB / 1.095 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/1.072, allocations: 178.1 kB / 1.095 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/1.072, allocations: 110.6 kB / 1.096 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001336/1.072, allocations: 121 kB / 1.096 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.072, allocations: 0 / 1.096 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002829/1.072, allocations: 4.312 kB / 1.096 GB, free: 13.9 MB / 0.8731 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.0002178/1.072, allocations: 180.4 kB / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.215e-05/1.072, allocations: 1.25 kB / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.072, allocations: 1.125 kB / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/1.072, allocations: 0 / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/1.073, allocations: 468.9 kB / 1.096 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/1.073, allocations: 208.3 kB / 1.096 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/1.074, allocations: 0.6892 MB / 1.097 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.312e-05/1.074, allocations: 4.641 kB / 1.097 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/1.074, allocations: 9.312 kB / 1.097 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.074, allocations: 0 / 1.097 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.00331/1.077, allocations: 414.6 kB / 1.098 GB, free: 12.31 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches