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.001221/0.001221, allocations: 106.8 kB / 16.37 MB, free: 6.012 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.001339/0.001339, allocations: 195.3 kB / 17.31 MB, free: 5.613 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.375/2.375, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 62.91 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3364, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002021/0.3385, allocations: 0.6243 MB / 0.9518 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.3388, allocations: 111.7 kB / 0.9519 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.3389, allocations: 0 / 0.9519 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.371e-05/0.339, allocations: 11.92 kB / 0.9519 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.3393, allocations: 27.92 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.702e-05/0.3394, allocations: 7.984 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.3395, allocations: 27.92 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3396, allocations: 27.97 kB / 0.952 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3397, allocations: 51.91 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.3398, allocations: 15.92 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.3398, allocations: 4 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.214e-06/0.3398, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.3398, allocations: 22.03 kB / 0.9521 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.3399, allocations: 15.88 kB / 0.9521 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.34, allocations: 47.86 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.34, allocations: 0 / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/0.34, allocations: 3.938 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.34, allocations: 4 kB / 0.9521 GB, free: 7.039 MB / 0.7325 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.0003301/0.3403, allocations: 347.3 kB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3404, allocations: 8.031 kB / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.3404, allocations: 12.84 kB / 0.9525 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.3406, allocations: 184.2 kB / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3406, allocations: 8.375 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3406, allocations: 4.359 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3407, allocations: 80.81 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3408, allocations: 4.172 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3408, allocations: 7.938 kB / 0.9527 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3408, allocations: 3.938 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.3408, allocations: 23.98 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.3412, allocations: 0.5972 MB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.3413, allocations: 169.1 kB / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.3414, allocations: 80.14 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3414, allocations: 83.22 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3414, allocations: 105.8 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3414, allocations: 4 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.754e-05/0.3415, allocations: 33.61 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3416, allocations: 134.6 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3417, allocations: 156.5 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3418, allocations: 25.7 kB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.3418, allocations: 104.1 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.3418, allocations: 0 / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.3418, allocations: 9.719 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.342, allocations: 322.8 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.342, allocations: 0 / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.342, allocations: 11.94 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.342, allocations: 79.27 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.342, allocations: 75.28 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.492e-05/0.3421, allocations: 33.61 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.3421, allocations: 79.28 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.3422, allocations: 79.28 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.433e-05/0.3422, allocations: 158.5 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-05/0.3423, allocations: 75.28 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.964e-05/0.3423, allocations: 154.5 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3424, allocations: 91.23 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3425, allocations: 79.28 kB / 0.9554 GB, free: 3.422 MB / 0.7325 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.0001118/0.3426, allocations: 272.3 kB / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.3427, allocations: 112.9 kB / 0.9558 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.3427, allocations: 108.9 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/0.3428, allocations: 184.2 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-05/0.3428, allocations: 180.2 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.05e-05/0.3429, allocations: 188.1 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.3431, allocations: 417.5 kB / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/0.3432, allocations: 105 kB / 0.9569 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.3432, allocations: 113 kB / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.986e-05/0.3433, allocations: 176.3 kB / 0.9572 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.3433, allocations: 184.2 kB / 0.9574 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-05/0.3434, allocations: 180.3 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.873e-05/0.3434, allocations: 188.2 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.3436, allocations: 311.6 kB / 0.958 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.3437, allocations: 190 kB / 0.9582 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.3437, allocations: 184.2 kB / 0.9584 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.3438, allocations: 101 kB / 0.9585 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.3439, allocations: 188.1 kB / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.3439, allocations: 108.9 kB / 0.9587 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.945e-05/0.344, allocations: 127.1 kB / 0.9589 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.344, allocations: 0 / 0.9589 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002465/0.3443, allocations: 4 kB / 0.9589 GB, free: 15.65 MB / 0.7481 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.0001292/0.3444, allocations: 177.1 kB / 0.959 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.432e-05/0.3445, allocations: 7.938 kB / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3445, allocations: 0 / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.3445, allocations: 0 / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3448, allocations: 455.7 kB / 0.9595 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.3451, allocations: 208.3 kB / 0.9597 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3453, allocations: 0.6961 MB / 0.9604 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.3454, allocations: 7.984 kB / 0.9604 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.3454, allocations: 7.438 kB / 0.9604 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.3454, allocations: 0 / 0.9604 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.002321/0.3477, allocations: 407 kB / 0.9608 GB, free: 13.65 MB / 0.7481 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 -s cvode -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