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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009912, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007824/0.007824, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.51/2.51, allocations: 437.8 MB / 0.7121 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 12 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6609, allocations: 153.8 MB / 1.023 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0008586/0.6618, allocations: 373.1 kB / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004522/0.6623, allocations: 111.8 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.6623, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.6624, allocations: 3.984 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.6628, allocations: 27.91 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.987e-05/0.6629, allocations: 8 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.663, allocations: 23.92 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.6631, allocations: 23.98 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.6632, allocations: 47.89 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.6633, allocations: 11.92 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.6633, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.6633, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.6634, allocations: 11.98 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.6634, allocations: 41.58 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.6635, allocations: 39.81 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6635, allocations: 4 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6636, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6636, allocations: 0 / 1.024 GB, free: 15.28 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.0003539/0.6639, allocations: 353.7 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.664, allocations: 8.031 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.664, allocations: 34.75 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.6641, allocations: 12.78 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.6643, allocations: 180.3 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6643, allocations: 384 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.6643, allocations: 8.375 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.6645, allocations: 80.8 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6645, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.6645, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.6645, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.6646, allocations: 31.91 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.6651, allocations: 0.6011 MB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.6652, allocations: 169.1 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.6652, allocations: 84.14 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.6652, allocations: 79.22 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.6653, allocations: 113.8 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.6653, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.867e-05/0.6654, allocations: 33.61 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.6655, allocations: 126.7 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.6656, allocations: 163.5 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6656, allocations: 25.7 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.6657, allocations: 92.14 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.6657, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.6657, allocations: 9.719 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6659, allocations: 322.8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-06/0.6659, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.6659, allocations: 7.938 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/0.6659, allocations: 75.28 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/0.6659, allocations: 75.28 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.028e-05/0.666, allocations: 33.61 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.6661, allocations: 92.98 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/0.6661, allocations: 83.28 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.126e-05/0.6662, allocations: 158.5 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.142e-05/0.6662, allocations: 75.28 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.944e-05/0.6663, allocations: 154.5 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.6664, allocations: 83.22 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.6664, allocations: 79.28 kB / 1.027 GB, free: 11.62 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.0001295/0.6665, allocations: 272.9 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.6666, allocations: 108.8 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.6667, allocations: 120.8 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-05/0.6667, allocations: 188.1 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-05/0.6668, allocations: 180.3 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-05/0.6669, allocations: 180.2 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.6671, allocations: 421.4 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-05/0.6671, allocations: 101 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.6672, allocations: 113 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.855e-05/0.6673, allocations: 180.2 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.6673, allocations: 180.3 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.255e-05/0.6674, allocations: 184.2 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.728e-05/0.6674, allocations: 180.3 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.6676, allocations: 311.7 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.6677, allocations: 193.9 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/0.6677, allocations: 180.3 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.6678, allocations: 105 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.6679, allocations: 188.1 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.6679, allocations: 101 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.469e-05/0.668, allocations: 119.2 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.668, allocations: 0 / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002389/0.6683, allocations: 8 kB / 1.031 GB, free: 7.863 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.0004335/0.6687, allocations: 0.8125 MB / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.84e-05/0.6688, allocations: 0 / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6688, allocations: 0 / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.6688, allocations: 4 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.6692, allocations: 0.5263 MB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.6706, allocations: 1.829 MB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.6709, allocations: 0.6887 MB / 1.034 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.902e-05/0.6709, allocations: 7.984 kB / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.6709, allocations: 15.44 kB / 1.034 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.671, allocations: 0 / 1.034 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.6811, allocations: 1.364 MB / 1.036 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.6814, allocations: 216.7 kB / 1.036 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.372, allocations: 0 / 1.036 GB, free: 2.367 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > 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