Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001506/0.001507, allocations: 104.5 kB / 16.35 MB, free: 6.289 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.001578/0.001578, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.365/1.365, 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 10.1.0-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.1 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.41 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3199, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002036/0.3219, allocations: 0.6354 MB / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.3223, allocations: 111.7 kB / 1.02 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.3224, allocations: 0 / 1.02 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.581e-05/0.3225, allocations: 11.92 kB / 1.02 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3228, allocations: 27.92 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.182e-05/0.3228, allocations: 7.984 kB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.3229, allocations: 27.92 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.323, allocations: 19.98 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3231, allocations: 59.89 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.3232, allocations: 15.92 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3232, allocations: 4 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.3232, allocations: 0 / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3233, allocations: 19.92 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.3233, allocations: 15.88 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.263e-05/0.3234, allocations: 47.86 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3234, allocations: 0 / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3234, allocations: 0 / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3234, allocations: 3.938 kB / 1.02 GB, free: 8.867 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.0003298/0.3238, allocations: 355.3 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3238, allocations: 8.922 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3239, allocations: 8.844 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.324, allocations: 188.1 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3241, allocations: 8.375 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3241, allocations: 8.375 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3242, allocations: 76.8 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3242, allocations: 192 / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3243, allocations: 7.938 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3243, allocations: 3.938 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.3243, allocations: 31.97 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.3248, allocations: 0.5972 MB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.3249, allocations: 173.1 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.3249, allocations: 84.14 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.325, allocations: 79.22 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.325, allocations: 105.8 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.325, allocations: 0 / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.478e-05/0.3251, allocations: 33.69 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.3252, allocations: 130.7 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3253, allocations: 160.9 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3253, allocations: 25.7 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.3254, allocations: 96.12 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.3254, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.3254, allocations: 13.72 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3256, allocations: 318.8 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.3256, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.3256, allocations: 15.92 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.3256, allocations: 79.28 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.3257, allocations: 75.28 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.322e-05/0.3257, allocations: 35.14 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3258, allocations: 79.28 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/0.3258, allocations: 79.28 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.587e-05/0.3259, allocations: 154.5 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.3259, allocations: 79.31 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.338e-05/0.326, allocations: 154.5 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3261, allocations: 91.23 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3261, allocations: 75.28 kB / 1.023 GB, free: 5.246 MB / 0.795 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.0001337/0.3263, allocations: 276.3 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.3264, allocations: 108.9 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.3264, allocations: 112.9 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.464e-05/0.3265, allocations: 184.2 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.049e-05/0.3266, allocations: 180.2 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-05/0.3267, allocations: 184.1 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.327, allocations: 421.4 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/0.327, allocations: 109 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.3271, allocations: 109 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-05/0.3271, allocations: 176.3 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.3272, allocations: 184.2 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.108e-05/0.3273, allocations: 180.3 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.611e-05/0.3274, allocations: 184.2 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3275, allocations: 311.6 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.3276, allocations: 193.9 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.3277, allocations: 184.2 kB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.3278, allocations: 105 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.3279, allocations: 184.2 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.3279, allocations: 108.9 kB / 1.026 GB, free: 1.602 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.146e-05/0.328, allocations: 125.6 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.328, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002652/0.3283, allocations: 4 kB / 1.027 GB, free: 1.477 MB / 0.795 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.0001376/0.3284, allocations: 174.5 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.102e-05/0.3285, allocations: 11.94 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3285, allocations: 0 / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3285, allocations: 0 / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3289, allocations: 459.7 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.3292, allocations: 196.3 kB / 1.027 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3295, allocations: 0.6931 MB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.372e-05/0.3295, allocations: 7.984 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3295, allocations: 11.44 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3295, allocations: 0 / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of Templates: time 0.002189/0.3317, allocations: 410.7 kB / 1.028 GB, free: 15.47 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches