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.001332/0.001332, 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.001748/0.001748, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.512/1.512, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.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.493/2.493, allocations: 390.2 MB / 0.6642 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/0.7996, allocations: 140.4 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001856/0.8015, allocations: 0.6878 MB / 0.9496 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.8019, allocations: 112.6 kB / 0.9497 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.8019, allocations: 1.375 kB / 0.9497 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.802, allocations: 7.938 kB / 0.9497 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.8024, allocations: 22.97 kB / 0.9497 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.939e-05/0.8025, allocations: 5.375 kB / 0.9497 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.8025, allocations: 32.22 kB / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.8026, allocations: 22.98 kB / 0.9498 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.8028, allocations: 54.14 kB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.8028, allocations: 16.05 kB / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.8029, allocations: 1.375 kB / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.8029, allocations: 1.375 kB / 0.9499 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.8029, allocations: 14.86 kB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.803, allocations: 23.92 kB / 0.9499 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.679e-05/0.8031, allocations: 44.2 kB / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8031, allocations: 0 / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.8031, allocations: 0 / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8031, allocations: 4 kB / 0.95 GB, free: 8.355 MB / 0.7169 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.0003029/0.8034, allocations: 352.4 kB / 0.9503 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.8034, allocations: 9.562 kB / 0.9503 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.8035, allocations: 11.09 kB / 0.9503 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.8036, allocations: 181.2 kB / 0.9505 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.8036, allocations: 2.688 kB / 0.9505 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.8037, allocations: 10.47 kB / 0.9505 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.8038, allocations: 82.5 kB / 0.9506 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8038, allocations: 4.125 kB / 0.9506 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.8038, allocations: 5 kB / 0.9506 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.8038, allocations: 1.062 kB / 0.9506 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.8039, allocations: 29.5 kB / 0.9506 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.8043, allocations: 0.602 MB / 0.9512 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.8043, allocations: 175.3 kB / 0.9514 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.8043, allocations: 80.14 kB / 0.9514 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.8044, allocations: 75.28 kB / 0.9515 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.8044, allocations: 106.9 kB / 0.9516 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8044, allocations: 4 kB / 0.9516 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.897e-05/0.8045, allocations: 33.02 kB / 0.9517 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.8045, allocations: 127.8 kB / 0.9518 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.8046, allocations: 162.5 kB / 0.9519 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.8047, allocations: 27.02 kB / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.8047, allocations: 91.92 kB / 0.952 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.8047, allocations: 0 / 0.952 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.8047, allocations: 11 kB / 0.9521 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.8048, allocations: 329.3 kB / 0.9524 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.8048, allocations: 0 / 0.9524 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.8048, allocations: 2.594 kB / 0.9524 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.68e-05/0.8049, allocations: 76.56 kB / 0.9524 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.8049, allocations: 79.31 kB / 0.9525 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.346e-05/0.8049, allocations: 42.5 kB / 0.9526 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.805, allocations: 82.03 kB / 0.9526 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.805, allocations: 84.66 kB / 0.9527 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.805, allocations: 155.7 kB / 0.9529 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.215e-05/0.8051, allocations: 76.53 kB / 0.9529 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.8051, allocations: 155.6 kB / 0.9531 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.8052, allocations: 81.06 kB / 0.9532 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.8052, allocations: 80.75 kB / 0.9532 GB, free: 4.91 MB / 0.7169 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 8.876e-05/0.8053, allocations: 274.6 kB / 0.9535 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.8054, allocations: 108.5 kB / 0.9536 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.8054, allocations: 123.3 kB / 0.9537 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/0.8055, allocations: 177.6 kB / 0.9539 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.401e-05/0.8055, allocations: 181.5 kB / 0.9541 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.154e-05/0.8055, allocations: 185.4 kB / 0.9542 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.8057, allocations: 421.3 kB / 0.9546 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.8057, allocations: 105.9 kB / 0.9547 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.8057, allocations: 102.5 kB / 0.9548 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-05/0.8058, allocations: 184.3 kB / 0.955 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.8058, allocations: 185.6 kB / 0.9552 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-05/0.8058, allocations: 185.3 kB / 0.9554 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.546e-05/0.8059, allocations: 185.5 kB / 0.9556 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.55e-05/0.8059, allocations: 313.8 kB / 0.9559 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.806, allocations: 188.7 kB / 0.956 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.806, allocations: 177.4 kB / 0.9562 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.8061, allocations: 110.2 kB / 0.9563 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.8061, allocations: 181.7 kB / 0.9565 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.8062, allocations: 104.9 kB / 0.9566 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.8062, allocations: 120.2 kB / 0.9567 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8062, allocations: 3.938 kB / 0.9567 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002528/0.8065, allocations: 3.312 kB / 0.9567 GB, free: 1.211 MB / 0.7169 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.0001077/0.8066, allocations: 175.8 kB / 0.9569 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.11e-05/0.8067, allocations: 9.297 kB / 0.9569 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.8067, allocations: 0 / 0.9569 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.8067, allocations: 1.312 kB / 0.9569 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.807, allocations: 0.5177 MB / 0.9574 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.8073, allocations: 226.5 kB / 0.9576 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.8075, allocations: 0.6892 MB / 0.9583 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.8075, allocations: 3.906 kB / 0.9583 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.8076, allocations: 12.84 kB / 0.9583 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.8076, allocations: 0 / 0.9583 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.002505/0.8101, allocations: 413 kB / 0.9587 GB, free: 15.37 MB / 0.7325 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