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.001034/0.001034, allocations: 92.16 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.0013/0.0013, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.49/1.49, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.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.682/2.682, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004272, allocations: 11.98 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7243, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0009082/0.7252, allocations: 373.1 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003897/0.7256, allocations: 107.7 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.7257, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.007e-05/0.7258, allocations: 7.938 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.7261, allocations: 27.97 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.025e-05/0.7262, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.7263, allocations: 27.92 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7264, allocations: 23.98 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.7265, allocations: 51.89 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.7266, allocations: 11.92 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.7266, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-06/0.7266, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.7267, allocations: 15.98 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.7267, allocations: 37.58 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.111e-05/0.7268, allocations: 35.86 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7268, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7268, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.7268, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 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.0003305/0.7272, allocations: 345.3 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7272, allocations: 8.031 kB / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.7273, allocations: 16.78 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.7274, allocations: 180.4 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.7274, allocations: 4.375 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.7275, allocations: 384 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.7276, allocations: 84.81 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.7276, allocations: 4.125 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.7276, allocations: 7.875 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.7277, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.7277, allocations: 23.98 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.7282, allocations: 0.605 MB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.7283, allocations: 169.1 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.7283, allocations: 84.08 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.7283, allocations: 75.28 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.7284, allocations: 113.8 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7284, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.153e-05/0.7285, allocations: 37.59 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.7285, allocations: 126.7 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.7287, allocations: 155.1 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.7287, allocations: 25.7 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.7288, allocations: 96.12 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.7288, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.7288, allocations: 9.719 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7289, allocations: 322.8 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-06/0.7289, allocations: 3.938 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.729, allocations: 4 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.729, allocations: 79.27 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/0.729, allocations: 75.28 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.556e-05/0.7291, allocations: 33.61 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.7291, allocations: 83.31 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.7292, allocations: 79.28 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.145e-05/0.7292, allocations: 162.5 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-05/0.7293, allocations: 75.28 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.924e-05/0.7293, allocations: 162.5 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.7295, allocations: 83.2 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.7295, allocations: 75.28 kB / 1.028 GB, free: 11.51 MB / 0.7794 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.0001291/0.7296, allocations: 280.9 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.7297, allocations: 108.9 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.7298, allocations: 108.9 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/0.7299, allocations: 184.2 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.638e-05/0.7299, allocations: 180.2 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.557e-05/0.73, allocations: 184.1 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.7303, allocations: 425.5 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.7303, allocations: 101 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.7304, allocations: 105 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.493e-05/0.7304, allocations: 180.3 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.7305, allocations: 184.2 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.819e-05/0.7306, allocations: 188.2 kB / 1.03 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.738e-05/0.7307, allocations: 180.2 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.7308, allocations: 311.6 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.7309, allocations: 189.9 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.731, allocations: 188.2 kB / 1.031 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.7311, allocations: 109 kB / 1.031 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.7312, allocations: 184.2 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.7312, allocations: 104.9 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.149e-05/0.7313, allocations: 124.2 kB / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7313, allocations: 4 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002683/0.7316, allocations: 0 / 1.031 GB, free: 7.738 MB / 0.7794 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.0001786/0.7318, allocations: 178.5 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.831e-05/0.7319, allocations: 3.938 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7319, allocations: 0 / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.7319, allocations: 0 / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.7323, allocations: 0.5243 MB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.7327, allocations: 243.7 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.7331, allocations: 0.6887 MB / 1.033 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.7332, allocations: 7.438 kB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of SimCode: time 7.81e-07/0.7332, allocations: 0 / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.002471/0.7356, allocations: 0.6967 MB / 1.033 GB, free: 5.328 MB / 0.7794 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 -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