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.001514/0.001514, allocations: 108.9 kB / 16.37 MB, free: 6.473 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.001648/0.001649, allocations: 190.6 kB / 17.31 MB, free: 5.828 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.491/2.491, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.06 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3281, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002171/0.3303, allocations: 0.6441 MB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003625/0.3307, allocations: 114.1 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.3308, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.877e-05/0.3309, allocations: 3.938 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.3313, allocations: 27.91 kB / 1.028 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.661e-05/0.3313, allocations: 8 kB / 1.028 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.3314, allocations: 27.92 kB / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3315, allocations: 23.98 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3317, allocations: 55.88 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.3317, allocations: 11.94 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3317, allocations: 0 / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.3317, allocations: 8 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.3318, allocations: 19.92 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.3318, allocations: 19.88 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.429e-05/0.3319, allocations: 47.8 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.3319, allocations: 0 / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3319, allocations: 0 / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.3319, allocations: 0 / 1.028 GB, free: 1.07 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.0003165/0.3323, allocations: 351.4 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3323, allocations: 8.031 kB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3323, allocations: 8.844 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3325, allocations: 188.2 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3325, allocations: 4.375 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3326, allocations: 4.312 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3327, allocations: 80.81 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.3327, allocations: 192 / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3327, allocations: 3.938 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3327, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.3328, allocations: 27.92 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.3332, allocations: 0.605 MB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.73e-05/0.3333, allocations: 165.1 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.3333, allocations: 80.14 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3334, allocations: 79.28 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.3334, allocations: 121.8 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3334, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.227e-05/0.3335, allocations: 29.64 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3335, allocations: 130.7 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3337, allocations: 153.8 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3337, allocations: 29.7 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.3338, allocations: 96.12 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.3338, allocations: 0 / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.3338, allocations: 9.719 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.3339, allocations: 326.8 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.3339, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.3339, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.334, allocations: 79.28 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/0.334, allocations: 79.31 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.958e-05/0.334, allocations: 41.55 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.3341, allocations: 79.28 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.3341, allocations: 83.27 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.024e-05/0.3342, allocations: 158.5 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.561e-05/0.3342, allocations: 79.27 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.937e-05/0.3343, allocations: 150.6 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3344, allocations: 95.19 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3344, allocations: 75.28 kB / 1.031 GB, free: 13.45 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.0001147/0.3346, allocations: 268.4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.3346, allocations: 112.8 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.3347, allocations: 112.9 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.3347, allocations: 184.2 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.733e-05/0.3348, allocations: 188.1 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.592e-05/0.3349, allocations: 180.2 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3351, allocations: 421.4 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/0.3351, allocations: 101 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.3352, allocations: 105 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-05/0.3352, allocations: 188.2 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.3353, allocations: 180.2 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/0.3353, allocations: 180.2 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.479e-05/0.3354, allocations: 180.3 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3355, allocations: 315.6 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.3356, allocations: 198 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.3357, allocations: 180.2 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.3358, allocations: 101 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.3359, allocations: 184.2 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.3359, allocations: 108.9 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.336, allocations: 125.1 kB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.336, allocations: 3.938 kB / 1.034 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000245/0.3363, allocations: 4 kB / 1.034 GB, free: 9.688 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.0001469/0.3364, allocations: 173.3 kB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.374e-05/0.3365, allocations: 0 / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3365, allocations: 0 / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.3365, allocations: 7.938 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3369, allocations: 459.7 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.3372, allocations: 212.2 kB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3375, allocations: 0.6885 MB / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.3375, allocations: 4 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.3375, allocations: 7.438 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3376, allocations: 4 kB / 1.036 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of Templates: time 0.002715/0.3403, allocations: 405.9 kB / 1.036 GB, free: 7.688 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 gbode -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