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.001863/0.001863, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002305/0.002305, allocations: 200 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.29/2.29, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.993/2.993, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 66.16 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3795, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002757/0.3823, allocations: 0.7053 MB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003863/0.3827, allocations: 111.7 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.3827, allocations: 0 / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.3829, allocations: 0 / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.3833, allocations: 27.92 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.483e-05/0.3833, allocations: 3.984 kB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.3834, allocations: 27.98 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3836, allocations: 27.92 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.3837, allocations: 63.88 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.3838, allocations: 11.94 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3838, allocations: 4 kB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.3838, allocations: 4 kB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.3839, allocations: 15.92 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.3839, allocations: 23.86 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.155e-05/0.384, allocations: 43.88 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.384, allocations: 4 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.384, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3841, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 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.0003804/0.3844, allocations: 347.6 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3845, allocations: 12.62 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.3845, allocations: 34.69 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.3846, allocations: 8.844 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3848, allocations: 188.2 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3848, allocations: 16.36 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3848, allocations: 384 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.385, allocations: 80.81 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.385, allocations: 3.938 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.385, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.385, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.3851, allocations: 27.91 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3856, allocations: 0.605 MB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/0.3857, allocations: 165.1 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.3857, allocations: 80.14 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.3858, allocations: 79.28 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.3858, allocations: 117.8 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3858, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.576e-05/0.3859, allocations: 25.7 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.386, allocations: 130.7 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3861, allocations: 164.5 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3862, allocations: 25.7 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.3862, allocations: 96.14 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3862, allocations: 0 / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3863, allocations: 9.719 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3864, allocations: 322.8 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.3864, allocations: 3.938 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.3864, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.3865, allocations: 75.28 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-05/0.3865, allocations: 83.22 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.151e-05/0.3866, allocations: 37.64 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.3866, allocations: 83.27 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.3867, allocations: 75.28 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.03e-05/0.3867, allocations: 162.5 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.221e-05/0.3868, allocations: 75.39 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.334e-05/0.3868, allocations: 158.5 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.387, allocations: 83.22 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.387, allocations: 79.28 kB / 1.057 GB, free: 3.918 MB / 0.8106 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.0001322/0.3872, allocations: 269.9 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.3872, allocations: 112.8 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.3873, allocations: 120.8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.435e-05/0.3874, allocations: 184.2 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/0.3874, allocations: 184.3 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.237e-05/0.3875, allocations: 180.2 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3877, allocations: 421.1 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.3878, allocations: 101 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.3878, allocations: 108.9 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.812e-05/0.3879, allocations: 184.3 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.3879, allocations: 176.3 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.728e-05/0.388, allocations: 180.2 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-05/0.3881, allocations: 176.3 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3882, allocations: 323.6 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.3883, allocations: 186 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.3884, allocations: 188.2 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.3885, allocations: 105 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.3885, allocations: 184.1 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.3886, allocations: 109 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.802e-05/0.3887, allocations: 124.7 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3887, allocations: 0 / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002625/0.3889, allocations: 4 kB / 1.06 GB, free: 156 kB / 0.8106 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.0004037/0.3894, allocations: 0.8048 MB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.076e-05/0.3894, allocations: 8 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3894, allocations: 3.938 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3894, allocations: 0 / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3898, allocations: 467.2 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3912, allocations: 1.838 MB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3914, allocations: 0.6885 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.3915, allocations: 7.984 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.3915, allocations: 15.44 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3915, allocations: 0 / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.403, allocations: 1.474 MB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.4033, allocations: 224.4 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.692, allocations: 0 / 1.066 GB, free: 10.62 MB / 0.8262 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