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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_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.005777/0.005777, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001331/0.001331, allocations: 195.9 kB / 16.68 MB, free: 5.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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002434/1.008, allocations: 0.6323 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005571/1.008, allocations: 103.7 kB / 1.208 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/1.008, allocations: 3.938 kB / 1.208 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/1.009, allocations: 11.92 kB / 1.208 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004564/1.009, allocations: 19.92 kB / 1.208 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.921e-05/1.009, allocations: 11.98 kB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/1.009, allocations: 23.98 kB / 1.208 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/1.009, allocations: 23.98 kB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/1.01, allocations: 55.83 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/1.01, allocations: 15.92 kB / 1.208 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/1.01, allocations: 4 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/1.01, allocations: 0 / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/1.01, allocations: 19.98 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/1.01, allocations: 19.88 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/1.01, allocations: 47.8 kB / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.01, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/1.01, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.01, allocations: 3.938 kB / 1.208 GB, free: 12.57 MB / 0.9356 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.0003553/1.01, allocations: 357.5 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.01, allocations: 12.03 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/1.01, allocations: 38.73 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/1.01, allocations: 8.844 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/1.011, allocations: 180.3 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/1.011, allocations: 4.375 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/1.011, allocations: 4.375 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/1.011, allocations: 72.81 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.011, allocations: 3.938 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.011, allocations: 11.98 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.011, allocations: 0 / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/1.011, allocations: 23.92 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/1.011, allocations: 0.6128 MB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/1.011, allocations: 165.1 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/1.011, allocations: 84.14 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/1.012, allocations: 75.28 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/1.012, allocations: 113.8 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/1.012, allocations: 3.938 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.194e-05/1.012, allocations: 33.61 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.012, allocations: 126.7 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/1.012, allocations: 159.6 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/1.012, allocations: 29.7 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/1.012, allocations: 100.1 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/1.012, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/1.012, allocations: 13.72 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/1.012, allocations: 310.8 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-06/1.012, allocations: 11.94 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/1.012, allocations: 3.984 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/1.012, allocations: 75.28 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/1.012, allocations: 79.31 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.898e-05/1.012, allocations: 37.64 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/1.012, allocations: 79.28 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/1.012, allocations: 75.28 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.189e-05/1.012, allocations: 154.5 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.721e-05/1.012, allocations: 83.27 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.103e-05/1.013, allocations: 154.6 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/1.013, allocations: 91.06 kB / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/1.013, allocations: 83.22 kB / 1.212 GB, free: 8.902 MB / 0.9356 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.0001422/1.013, allocations: 268.4 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/1.013, allocations: 112.8 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/1.013, allocations: 108.9 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/1.013, allocations: 184.2 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-05/1.013, allocations: 180.2 kB / 1.212 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.929e-05/1.013, allocations: 192.2 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/1.013, allocations: 417.1 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.013, allocations: 101 kB / 1.213 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/1.013, allocations: 105 kB / 1.213 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.184e-05/1.014, allocations: 184.2 kB / 1.213 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/1.014, allocations: 180.6 kB / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/1.014, allocations: 184.2 kB / 1.214 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.728e-05/1.014, allocations: 180.3 kB / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/1.014, allocations: 315.7 kB / 1.214 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.274e-05/1.014, allocations: 186 kB / 1.214 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/1.014, allocations: 184.2 kB / 1.215 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/1.014, allocations: 101 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/1.014, allocations: 188.1 kB / 1.215 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/1.014, allocations: 109 kB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.208e-05/1.014, allocations: 125 kB / 1.215 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.81e-07/1.014, allocations: 0 / 1.215 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002605/1.015, allocations: 0 / 1.215 GB, free: 5.148 MB / 0.9356 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.0003899/1.015, allocations: 0.8203 MB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.684e-05/1.015, allocations: 4 kB / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.015, allocations: 3.938 kB / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/1.015, allocations: 0 / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/1.015, allocations: 463.6 kB / 1.216 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/1.017, allocations: 1.826 MB / 1.218 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/1.017, allocations: 0.6924 MB / 1.219 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.734e-05/1.017, allocations: 7.984 kB / 1.219 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/1.017, allocations: 15.44 kB / 1.219 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/1.017, allocations: 0 / 1.219 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/1.034, allocations: 1.579 MB / 1.22 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/8.522, allocations: 2.125 kB / 1.22 GB, free: 15.75 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > 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