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.0009684/0.0009691, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006656/0.006656, allocations: 168.9 kB / 16.26 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.548/1.548, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.508/2.508, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8998/0.9002, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0008668/0.9011, allocations: 366.8 kB / 0.9554 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004092/0.9016, allocations: 108.2 kB / 0.9555 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.9016, allocations: 1 kB / 0.9555 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.9017, allocations: 7.938 kB / 0.9555 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.9021, allocations: 22.81 kB / 0.9555 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.112e-05/0.9021, allocations: 9.859 kB / 0.9555 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.9022, allocations: 30.77 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.9023, allocations: 23.64 kB / 0.9556 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.9024, allocations: 42.94 kB / 0.9556 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.9025, allocations: 16.02 kB / 0.9557 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.9025, allocations: 5.172 kB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-06/0.9025, allocations: 1.125 kB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.9026, allocations: 9.703 kB / 0.9557 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.9026, allocations: 40.73 kB / 0.9557 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.784e-05/0.9027, allocations: 48.19 kB / 0.9558 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9027, allocations: 0 / 0.9558 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9028, allocations: 1.406 kB / 0.9558 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.9028, allocations: 7.938 kB / 0.9558 GB, free: 7.164 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.0002737/0.903, allocations: 343.2 kB / 0.9561 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.9031, allocations: 8.844 kB / 0.9561 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.9031, allocations: 4.188 kB / 0.9561 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.9033, allocations: 185.4 kB / 0.9563 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.9033, allocations: 1.469 kB / 0.9563 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.9033, allocations: 3.5 kB / 0.9563 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.9035, allocations: 94.08 kB / 0.9564 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.9035, allocations: 192 / 0.9564 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9035, allocations: 5.031 kB / 0.9564 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.9035, allocations: 1.188 kB / 0.9564 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.9036, allocations: 24.64 kB / 0.9564 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.904, allocations: 0.6068 MB / 0.957 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.904, allocations: 170.2 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.904, allocations: 80.14 kB / 0.9572 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.9041, allocations: 76.31 kB / 0.9573 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.9041, allocations: 114.9 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9041, allocations: 4 kB / 0.9574 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.838e-05/0.9042, allocations: 37.03 kB / 0.9575 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.9042, allocations: 126.7 kB / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.9044, allocations: 155.2 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.9044, allocations: 30.98 kB / 0.9578 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.9044, allocations: 95.53 kB / 0.9578 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.9044, allocations: 0 / 0.9578 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.9044, allocations: 9.719 kB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.9045, allocations: 325.3 kB / 0.9582 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.9045, allocations: 0 / 0.9582 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.9045, allocations: 3.281 kB / 0.9582 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.569e-05/0.9045, allocations: 79.27 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.9046, allocations: 75.28 kB / 0.9583 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.839e-05/0.9046, allocations: 30.33 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.9046, allocations: 82.72 kB / 0.9584 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9047, allocations: 86.08 kB / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.9047, allocations: 158.6 kB / 0.9587 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.061e-05/0.9047, allocations: 76.75 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.9048, allocations: 155.8 kB / 0.9589 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.9049, allocations: 88.3 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.9049, allocations: 80.31 kB / 0.959 GB, free: 3.723 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 7.344e-05/0.905, allocations: 279.1 kB / 0.9593 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.905, allocations: 104.5 kB / 0.9594 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.9051, allocations: 120 kB / 0.9595 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.9051, allocations: 177.3 kB / 0.9597 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/0.9051, allocations: 181.3 kB / 0.9599 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.9051, allocations: 189 kB / 0.96 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.9053, allocations: 421.5 kB / 0.9604 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.9053, allocations: 106.1 kB / 0.9605 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.9053, allocations: 101.8 kB / 0.9606 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/0.9054, allocations: 181.6 kB / 0.9608 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.9054, allocations: 181.3 kB / 0.961 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-05/0.9054, allocations: 181.5 kB / 0.9612 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.682e-05/0.9055, allocations: 192.2 kB / 0.9613 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.501e-05/0.9056, allocations: 309.9 kB / 0.9616 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.9056, allocations: 189.3 kB / 0.9618 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.9056, allocations: 185.6 kB / 0.962 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.9057, allocations: 110.1 kB / 0.9621 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.9057, allocations: 176.3 kB / 0.9623 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.9058, allocations: 106.5 kB / 0.9624 GB, free: 128 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.107e-05/0.9058, allocations: 123.6 kB / 0.9625 GB, free: 28 kB / 0.7169 GB Notification: Performance of sort global known variables: time 9.62e-07/0.9058, allocations: 0 / 0.9625 GB, free: 28 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002462/0.9061, allocations: 6.938 kB / 0.9625 GB, free: 24 kB / 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.0001854/0.9063, allocations: 176 kB / 0.9627 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.718e-05/0.9063, allocations: 0.9062 kB / 0.9627 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9063, allocations: 1.188 kB / 0.9627 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.9063, allocations: 0 / 0.9627 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.9068, allocations: 0.5226 MB / 0.9632 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.9071, allocations: 218.4 kB / 0.9634 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.9074, allocations: 0.6887 MB / 0.9641 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.9074, allocations: 6.797 kB / 0.9641 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.9075, allocations: 12.88 kB / 0.9641 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.9075, allocations: 3.938 kB / 0.9641 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.002579/0.9101, allocations: 405.5 kB / 0.9645 GB, free: 14.2 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