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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001388/0.001388, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00168/0.00168, allocations: 191.4 kB / 16.25 MB, free: 6.648 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 63.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6145, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002039/0.6165, allocations: 0.7072 MB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003623/0.6169, allocations: 103.7 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.617, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.6172, allocations: 7.922 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.6175, allocations: 27.98 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.565e-05/0.6176, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.65e-05/0.6177, allocations: 35.89 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.6178, allocations: 20 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.618, allocations: 59.89 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.618, allocations: 15.92 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.6181, allocations: 7.938 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.6181, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.6181, allocations: 19.97 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.6182, allocations: 19.81 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.491e-05/0.6182, allocations: 39.88 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.6183, allocations: 0 / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6183, allocations: 0 / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6183, allocations: 0 / 1.018 GB, free: 1.652 MB / 0.7637 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.0003464/0.6186, allocations: 357.5 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6187, allocations: 8.031 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.6187, allocations: 38.73 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.6188, allocations: 12.84 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.6189, allocations: 180.3 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.6189, allocations: 384 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.619, allocations: 4.375 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.6191, allocations: 80.75 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6191, allocations: 3.938 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.6191, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.6191, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.6192, allocations: 27.92 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.6197, allocations: 0.6012 MB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.6197, allocations: 169.1 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.6198, allocations: 84.14 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.6198, allocations: 75.28 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.6199, allocations: 109.8 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.6199, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.325e-05/0.62, allocations: 41.55 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.62, allocations: 130.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.6202, allocations: 164.2 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.6202, allocations: 25.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.6203, allocations: 96.12 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.6203, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.6203, allocations: 13.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6204, allocations: 314.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.6204, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.6205, allocations: 7.984 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.801e-05/0.6205, allocations: 79.34 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/0.6205, allocations: 83.22 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.937e-05/0.6206, allocations: 37.61 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.6206, allocations: 79.28 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.6207, allocations: 79.22 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.879e-05/0.6207, allocations: 150.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.994e-05/0.6208, allocations: 91.2 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.246e-05/0.6208, allocations: 154.6 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.621, allocations: 79.22 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.621, allocations: 83.22 kB / 1.021 GB, free: 13.99 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.0001196/0.6211, allocations: 268.9 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.6212, allocations: 108.9 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/0.6213, allocations: 116.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.265e-05/0.6213, allocations: 188.2 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.668e-05/0.6214, allocations: 180.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.155e-05/0.6215, allocations: 184.2 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.6217, allocations: 417.5 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/0.6217, allocations: 104.9 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.6218, allocations: 105 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-05/0.6218, allocations: 184.2 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.6219, allocations: 188.3 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.193e-05/0.622, allocations: 180.2 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.376e-05/0.622, allocations: 180.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.6222, allocations: 319.6 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.6223, allocations: 182.1 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.6224, allocations: 184.3 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.6224, allocations: 104.9 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.6225, allocations: 180.2 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.6226, allocations: 108.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.6226, allocations: 131.1 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6226, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002516/0.6229, allocations: 0 / 1.025 GB, free: 10.23 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.0003829/0.6233, allocations: 0.8126 MB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.181e-05/0.6233, allocations: 4 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6234, allocations: 3.938 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6234, allocations: 0 / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.6237, allocations: 467.1 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.625, allocations: 1.829 MB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.6253, allocations: 0.6924 MB / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.6253, allocations: 4 kB / 1.028 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.6254, allocations: 19.42 kB / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6254, allocations: 0 / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.6367, allocations: 1.459 MB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.6369, allocations: 217.5 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.295, allocations: 3.625 kB / 1.03 GB, free: 4.691 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