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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 193.4 kB / 16.14 MB, free: 6.691 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.337/2.337, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5329, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001887/0.5348, allocations: 0.6954 MB / 1.017 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003734/0.5352, allocations: 107.7 kB / 1.018 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.5353, allocations: 0 / 1.018 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.99e-05/0.5354, allocations: 11.94 kB / 1.018 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.5357, allocations: 23.97 kB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.677e-05/0.5357, allocations: 11.98 kB / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.5358, allocations: 23.92 kB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.5359, allocations: 23.98 kB / 1.018 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.536, allocations: 47.91 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.5361, allocations: 15.92 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.5361, allocations: 4 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.5361, allocations: 3.938 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.5362, allocations: 19.97 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.5362, allocations: 11.88 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.096e-05/0.5363, allocations: 47.81 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.5363, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5363, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.5363, allocations: 7.938 kB / 1.018 GB, free: 1.848 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.0003051/0.5366, allocations: 357.5 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5367, allocations: 12.03 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.5367, allocations: 30.75 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.5367, allocations: 8.844 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.5369, allocations: 180.3 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.5369, allocations: 4.375 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.5369, allocations: 384 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.537, allocations: 96.72 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5371, allocations: 3.938 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.5371, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.5371, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.5371, allocations: 27.91 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.5375, allocations: 0.605 MB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.5376, allocations: 169.1 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.5377, allocations: 80.14 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.5377, allocations: 75.28 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5377, allocations: 113.8 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.5377, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.176e-05/0.5378, allocations: 33.7 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.5379, allocations: 130.6 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.538, allocations: 163.3 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.538, allocations: 25.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.5381, allocations: 92.14 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.5381, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.5381, allocations: 9.719 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.5382, allocations: 326.8 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.5382, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.5383, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.5383, allocations: 79.31 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.233e-05/0.5383, allocations: 79.28 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.969e-05/0.5384, allocations: 37.55 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.5384, allocations: 79.28 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.5384, allocations: 87.23 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.315e-05/0.5385, allocations: 154.6 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.36e-05/0.5385, allocations: 83.22 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.16e-05/0.5386, allocations: 150.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.5387, allocations: 83.22 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.5387, allocations: 83.16 kB / 1.021 GB, free: 14.19 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.0001126/0.5389, allocations: 272.9 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.5389, allocations: 112.9 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.539, allocations: 116.8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/0.539, allocations: 180.3 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.5391, allocations: 180.3 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.538e-05/0.5392, allocations: 188.1 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.5394, allocations: 417.2 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/0.5394, allocations: 105.2 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.5395, allocations: 105 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-05/0.5395, allocations: 192.2 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.5396, allocations: 180.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.412e-05/0.5397, allocations: 180.3 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.034e-05/0.5397, allocations: 180.2 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.5398, allocations: 319.6 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.5399, allocations: 186 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.54, allocations: 184.3 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.5401, allocations: 104.9 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.5401, allocations: 188.2 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.5402, allocations: 104.9 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.5403, allocations: 121 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5403, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002419/0.5405, allocations: 4 kB / 1.025 GB, free: 10.42 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.0003894/0.5409, allocations: 0.8088 MB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.7e-05/0.5409, allocations: 0 / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.541, allocations: 0 / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.541, allocations: 3.938 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.5413, allocations: 0.5302 MB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.5426, allocations: 1.827 MB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.5429, allocations: 0.6926 MB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.5429, allocations: 11.89 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.5429, allocations: 15.44 kB / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5429, allocations: 0 / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.5534, allocations: 1.417 MB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.5537, allocations: 218 kB / 1.03 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.144, allocations: 0 / 1.03 GB, free: 4.832 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