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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001001/0.001001, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 181.1 kB / 16.92 MB, free: 6.895 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6884, allocations: 142.4 MB / 0.9557 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0007759/0.6892, allocations: 376.8 kB / 0.9561 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000364/0.6896, allocations: 103.2 kB / 0.9562 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.6897, allocations: 1.094 kB / 0.9562 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.336e-05/0.6897, allocations: 4 kB / 0.9562 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.6901, allocations: 26.91 kB / 0.9562 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.75e-05/0.6901, allocations: 5.125 kB / 0.9562 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.6902, allocations: 35.62 kB / 0.9562 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.6903, allocations: 24.14 kB / 0.9563 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.6904, allocations: 50.2 kB / 0.9563 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.6905, allocations: 7.5 kB / 0.9563 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.6905, allocations: 1.219 kB / 0.9563 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.6905, allocations: 1.062 kB / 0.9563 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.6906, allocations: 18.62 kB / 0.9563 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.6906, allocations: 36.11 kB / 0.9564 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.16e-05/0.6907, allocations: 39.16 kB / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6907, allocations: 0 / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.066e-06/0.6907, allocations: 1 kB / 0.9564 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6907, allocations: 0 / 0.9564 GB, free: 7.137 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.0002378/0.691, allocations: 350.9 kB / 0.9567 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.691, allocations: 9.062 kB / 0.9568 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.6911, allocations: 4.625 kB / 0.9568 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.6912, allocations: 185 kB / 0.9569 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6912, allocations: 2.562 kB / 0.9569 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.6912, allocations: 2.75 kB / 0.9569 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.6914, allocations: 82.16 kB / 0.957 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.6914, allocations: 192 / 0.957 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6914, allocations: 5 kB / 0.957 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6914, allocations: 5.188 kB / 0.957 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.6915, allocations: 21.02 kB / 0.957 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.6918, allocations: 0.61 MB / 0.9576 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.6919, allocations: 166.2 kB / 0.9578 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.6919, allocations: 81.48 kB / 0.9579 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.6919, allocations: 79.22 kB / 0.958 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.6919, allocations: 118.8 kB / 0.9581 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6919, allocations: 0 / 0.9581 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.23e-05/0.692, allocations: 32.73 kB / 0.9581 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.692, allocations: 127.7 kB / 0.9582 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6921, allocations: 155.1 kB / 0.9584 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.6922, allocations: 29.64 kB / 0.9584 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.6922, allocations: 96.06 kB / 0.9585 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.6922, allocations: 0 / 0.9585 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.6922, allocations: 13.72 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.6923, allocations: 321.3 kB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-06/0.6923, allocations: 3.938 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.6923, allocations: 10.83 kB / 0.9588 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.343e-05/0.6923, allocations: 76.56 kB / 0.9589 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.6923, allocations: 75.28 kB / 0.959 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.11e-05/0.6924, allocations: 30.02 kB / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6924, allocations: 82.97 kB / 0.9591 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6924, allocations: 88.77 kB / 0.9592 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.6925, allocations: 155.9 kB / 0.9593 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.096e-05/0.6925, allocations: 80.66 kB / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.6925, allocations: 158.5 kB / 0.9595 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.6927, allocations: 85.78 kB / 0.9596 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6927, allocations: 76.09 kB / 0.9597 GB, free: 3.691 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.53e-05/0.6927, allocations: 278.1 kB / 0.96 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.6928, allocations: 108.4 kB / 0.9601 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.6928, allocations: 112.2 kB / 0.9602 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.6929, allocations: 189.4 kB / 0.9603 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/0.6929, allocations: 177.5 kB / 0.9605 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.6929, allocations: 189.5 kB / 0.9607 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.6931, allocations: 413.4 kB / 0.9611 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.6931, allocations: 106.5 kB / 0.9612 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.6931, allocations: 104.9 kB / 0.9613 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-05/0.6931, allocations: 181.5 kB / 0.9615 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.6932, allocations: 185.6 kB / 0.9616 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.579e-05/0.6932, allocations: 185.5 kB / 0.9618 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-05/0.6932, allocations: 177.7 kB / 0.962 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.814e-05/0.6933, allocations: 312.3 kB / 0.9623 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.6933, allocations: 193.6 kB / 0.9625 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.6934, allocations: 181.7 kB / 0.9626 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.6934, allocations: 106.1 kB / 0.9627 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.6935, allocations: 180.2 kB / 0.9629 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.6935, allocations: 106.1 kB / 0.963 GB, free: 100 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.387e-05/0.6936, allocations: 128.1 kB / 0.9631 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6936, allocations: 0 / 0.9631 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002491/0.6938, allocations: 2.906 kB / 0.9631 GB, free: 15.99 MB / 0.7325 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.0001217/0.694, allocations: 175.9 kB / 0.9633 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.834e-05/0.694, allocations: 5.312 kB / 0.9633 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.694, allocations: 0 / 0.9633 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.694, allocations: 1.438 kB / 0.9633 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.6944, allocations: 0.5238 MB / 0.9638 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.6947, allocations: 244.9 kB / 0.9641 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.695, allocations: 0.688 MB / 0.9647 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.695, allocations: 13.31 kB / 0.9648 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.695, allocations: 0 / 0.9648 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.002073/0.6971, allocations: 0.7034 MB / 0.9654 GB, free: 13.99 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/jenkins1/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