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.001383/0.001383, allocations: 108 kB / 15.61 MB, free: 128 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.001194/0.001194, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.594/2.594, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 63.89 kB / 0.8694 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.7007, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002355/0.7031, allocations: 0.6326 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004777/0.7037, allocations: 103.7 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.7037, allocations: 4 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.7039, allocations: 3.938 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.7044, allocations: 35.91 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.517e-05/0.7045, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.7046, allocations: 27.92 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.7047, allocations: 27.97 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.7048, allocations: 59.89 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.7049, allocations: 11.94 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.7049, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.705, allocations: 8 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.705, allocations: 11.98 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.705, allocations: 15.88 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.7052, allocations: 51.8 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7052, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7052, allocations: 3.938 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7052, allocations: 0 / 1.018 GB, free: 1.543 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.0004104/0.7056, allocations: 353.5 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.7057, allocations: 16.02 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.7057, allocations: 30.75 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.7058, allocations: 12.84 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.706, allocations: 184.2 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.706, allocations: 4.375 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.706, allocations: 384 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.7062, allocations: 80.81 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7062, allocations: 3.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.7062, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.7062, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.504e-05/0.7063, allocations: 27.92 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.7068, allocations: 0.6012 MB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.7069, allocations: 169.1 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.707, allocations: 88.17 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.707, allocations: 75.28 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.7071, allocations: 117.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7071, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.443e-05/0.7072, allocations: 33.61 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.7073, allocations: 126.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.7075, allocations: 167 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.7075, allocations: 25.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.7075, allocations: 92.14 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.7076, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.7076, allocations: 9.719 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7077, allocations: 322.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-06/0.7077, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.7078, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.7078, allocations: 83.31 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.259e-05/0.7078, allocations: 75.28 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.9e-05/0.7079, allocations: 37.55 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.708, allocations: 83.22 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.708, allocations: 75.28 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-05/0.7081, allocations: 166.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.657e-05/0.7081, allocations: 75.28 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.285e-05/0.7082, allocations: 154.6 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.7084, allocations: 91.09 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.7084, allocations: 75.28 kB / 1.022 GB, free: 13.88 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.0001544/0.7086, allocations: 268.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.7086, allocations: 112.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.7087, allocations: 112.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/0.7088, allocations: 184.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-05/0.7088, allocations: 184.2 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/0.7089, allocations: 180.2 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.7092, allocations: 425.1 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/0.7092, allocations: 101 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.7093, allocations: 108.9 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-05/0.7094, allocations: 184.2 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.7094, allocations: 176.3 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.691e-05/0.7095, allocations: 180.5 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.765e-05/0.7096, allocations: 176.3 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.7098, allocations: 327.6 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.7099, allocations: 182.1 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.71, allocations: 184.2 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.71, allocations: 101 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.7101, allocations: 196.1 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.7102, allocations: 105 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.627e-05/0.7103, allocations: 124.6 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7103, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002788/0.7106, allocations: 4 kB / 1.025 GB, free: 10.12 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.0004027/0.711, allocations: 0.8126 MB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.012e-05/0.711, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.711, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.711, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.7114, allocations: 471.4 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.7129, allocations: 1.828 MB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.7132, allocations: 0.6885 MB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.422e-05/0.7132, allocations: 7.984 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.7133, allocations: 19.44 kB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7133, allocations: 0 / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.7336, allocations: 1.52 MB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/9.421, allocations: 7.375 kB / 1.03 GB, free: 4.738 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