Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_9_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.008802/0.008802, 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.001794/0.001795, allocations: 198.7 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.365/1.365, 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 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 63.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7788, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001884/0.7807, allocations: 0.6402 MB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003617/0.7811, allocations: 105.6 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.7812, allocations: 1.281 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.7813, allocations: 5.484 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.7817, allocations: 29.7 kB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.087e-05/0.7817, allocations: 3.922 kB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.7818, allocations: 32.78 kB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.7819, allocations: 27.25 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.7821, allocations: 51.02 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.7821, allocations: 16.34 kB / 1.088 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.7822, allocations: 5.875 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.7822, allocations: 3.031 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.7822, allocations: 24.03 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.7822, allocations: 16.11 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.412e-05/0.7823, allocations: 44.03 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7823, allocations: 1.062 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7824, allocations: 0 / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.7824, allocations: 0 / 1.088 GB, free: 4.727 MB / 0.8575 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.0002693/0.7826, allocations: 354.2 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7827, allocations: 9.969 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.7827, allocations: 33.27 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.7827, allocations: 8.219 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7829, allocations: 189.9 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.7829, allocations: 2.344 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.7829, allocations: 7.344 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.7831, allocations: 86.34 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.7831, allocations: 3.938 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.7831, allocations: 1.156 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7831, allocations: 1.094 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.7832, allocations: 33.92 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.7835, allocations: 0.6035 MB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.7836, allocations: 166.2 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.7836, allocations: 84.14 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.7836, allocations: 80.88 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.7836, allocations: 111.5 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.7836, allocations: 0 / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.371e-05/0.7837, allocations: 33.28 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.7837, allocations: 127.7 kB / 1.09 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.7839, allocations: 173.8 kB / 1.09 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-06/0.7839, allocations: 25.7 kB / 1.09 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.7839, allocations: 94.39 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.7839, allocations: 0 / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.784, allocations: 12.03 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.784, allocations: 319.5 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.784, allocations: 0 / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.784, allocations: 3.281 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.329e-05/0.784, allocations: 76.19 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.7841, allocations: 79.28 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.796e-05/0.7841, allocations: 36.3 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7841, allocations: 79.69 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7842, allocations: 81.16 kB / 1.091 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.7843, allocations: 152.1 kB / 1.091 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.7843, allocations: 84.7 kB / 1.091 GB, free: 17.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.286e-05/0.7844, allocations: 156.4 kB / 1.092 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.7845, allocations: 90.05 kB / 1.092 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.7845, allocations: 76.47 kB / 1.092 GB, free: 17.3 MB / 0.8731 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.0001122/0.7846, allocations: 269.6 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.7847, allocations: 109.6 kB / 1.092 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.7848, allocations: 118.5 kB / 1.092 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.165e-05/0.7848, allocations: 181.8 kB / 1.092 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.639e-05/0.7849, allocations: 181.8 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001238/0.785, allocations: 185.8 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.7853, allocations: 421 kB / 1.093 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.659e-05/0.7854, allocations: 102.7 kB / 1.093 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.7854, allocations: 106.5 kB / 1.093 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.7856, allocations: 181.8 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.7857, allocations: 179 kB / 1.094 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-05/0.7858, allocations: 181 kB / 1.094 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001179/0.7859, allocations: 186.5 kB / 1.094 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.7862, allocations: 314.9 kB / 1.094 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.7863, allocations: 191 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.7864, allocations: 183.1 kB / 1.095 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.7865, allocations: 101.5 kB / 1.095 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7867, allocations: 182 kB / 1.095 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.7867, allocations: 110.8 kB / 1.095 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001459/0.7869, allocations: 125.5 kB / 1.095 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7869, allocations: 0 / 1.095 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004872/0.7874, allocations: 3.281 kB / 1.095 GB, free: 13.64 MB / 0.8731 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.0004764/0.7879, allocations: 0.815 MB / 1.096 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.775e-05/0.7879, allocations: 5.578 kB / 1.096 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.788, allocations: 0 / 1.096 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.788, allocations: 0.9375 kB / 1.096 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.7885, allocations: 465.2 kB / 1.096 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.7903, allocations: 1.818 MB / 1.098 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.7907, allocations: 0.6897 MB / 1.099 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.7907, allocations: 3.516 kB / 1.099 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.7908, allocations: 18.98 kB / 1.099 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.7908, allocations: 0 / 1.099 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.8125, allocations: 1.577 MB / 1.1 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.705, allocations: 7.984 kB / 1.1 GB, free: 9.605 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches