Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001509/0.001509, allocations: 101.8 kB / 16.35 MB, free: 5.879 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.001635/0.001635, allocations: 199.1 kB / 17.3 MB, free: 5.52 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.3 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.00179/0.3273, allocations: 0.6441 MB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003413/0.3277, allocations: 118.1 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.3277, allocations: 0 / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.469e-05/0.3278, allocations: 3.938 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.3282, allocations: 27.91 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.58e-05/0.3282, allocations: 4 kB / 1.028 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.3283, allocations: 27.92 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3284, allocations: 27.97 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.3285, allocations: 55.89 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.3286, allocations: 15.92 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3286, allocations: 0 / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.3286, allocations: 4 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.3287, allocations: 11.94 kB / 1.028 GB, free: 1.125 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.3287, allocations: 23.86 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.209e-05/0.3288, allocations: 47.88 kB / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3288, allocations: 3.938 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3288, allocations: 0 / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.3288, allocations: 0 / 1.028 GB, free: 1.051 MB / 0.795 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.0003006/0.3291, allocations: 351.4 kB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3292, allocations: 8.031 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.3292, allocations: 12.78 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3294, allocations: 180.3 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3294, allocations: 4.375 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3294, allocations: 4.375 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3295, allocations: 80.8 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3296, allocations: 4.125 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3296, allocations: 7.938 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3296, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.3296, allocations: 19.98 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.3301, allocations: 0.6128 MB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.3302, allocations: 173.1 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.3302, allocations: 84.08 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3302, allocations: 83.27 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.3303, allocations: 105.8 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 3.256e-06/0.3303, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.481e-05/0.3304, allocations: 37.64 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.3304, allocations: 126.7 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3306, allocations: 153.8 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.3306, allocations: 29.69 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.3306, allocations: 96.14 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.3306, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.3307, allocations: 13.72 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3308, allocations: 322.8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.3308, allocations: 7.938 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.3308, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.3308, allocations: 75.28 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-05/0.3309, allocations: 75.28 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.57e-05/0.3309, allocations: 41.64 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.331, allocations: 79.28 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/0.331, allocations: 75.28 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.677e-05/0.3311, allocations: 158.5 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-05/0.3311, allocations: 83.28 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.626e-05/0.3312, allocations: 154.5 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3313, allocations: 87.25 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.3313, allocations: 79.28 kB / 1.031 GB, free: 13.43 MB / 0.8106 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.0001333/0.3315, allocations: 272.3 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.3316, allocations: 108.9 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.3316, allocations: 112.8 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.693e-05/0.3317, allocations: 184.2 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.609e-05/0.3318, allocations: 180.3 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.937e-05/0.3319, allocations: 188.1 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3321, allocations: 417.5 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/0.3322, allocations: 101 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.3322, allocations: 109 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.687e-05/0.3323, allocations: 188.3 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.3324, allocations: 184.2 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.959e-05/0.3324, allocations: 176.3 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.306e-05/0.3325, allocations: 176.3 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3327, allocations: 319.6 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.3328, allocations: 197.9 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.3328, allocations: 180.3 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.3329, allocations: 104.9 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.333, allocations: 184.1 kB / 1.034 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.333, allocations: 112.9 kB / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.457e-05/0.3331, allocations: 125.4 kB / 1.034 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3331, allocations: 0 / 1.034 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002499/0.3334, allocations: 4 kB / 1.034 GB, free: 9.66 MB / 0.8106 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.0001423/0.3335, allocations: 170.5 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.094e-05/0.3336, allocations: 3.938 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3336, allocations: 0 / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3336, allocations: 0 / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.334, allocations: 467.7 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.3343, allocations: 208.2 kB / 1.035 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3346, allocations: 0.6885 MB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.3347, allocations: 0 / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.3347, allocations: 11.44 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3347, allocations: 0 / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of Templates: time 0.002267/0.337, allocations: 415.3 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches