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.001476/0.001477, allocations: 108 kB / 15.61 MB, free: 148 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.00199/0.00199, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.347/2.347, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6352/0.6365, allocations: 140.4 MB / 0.9497 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001815/0.6383, allocations: 0.6306 MB / 0.9504 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.6387, allocations: 107.2 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.6387, allocations: 5.312 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.898e-05/0.6388, allocations: 0 / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.6392, allocations: 28.28 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.214e-05/0.6392, allocations: 5.375 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.6393, allocations: 32.23 kB / 0.9505 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.6394, allocations: 24.36 kB / 0.9505 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.6395, allocations: 56.77 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.6396, allocations: 12.05 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.6396, allocations: 2.75 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.6396, allocations: 1.375 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.6396, allocations: 18.86 kB / 0.9506 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.6397, allocations: 20 kB / 0.9507 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.032e-05/0.6397, allocations: 48.17 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6398, allocations: 4 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6398, allocations: 1.375 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6398, allocations: 0 / 0.9507 GB, free: 8.352 MB / 0.7169 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.0002474/0.64, allocations: 352.6 kB / 0.951 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6401, allocations: 9.625 kB / 0.951 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.6401, allocations: 40.11 kB / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.6401, allocations: 7.594 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.6402, allocations: 188.5 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.6403, allocations: 3.125 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6403, allocations: 3.125 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.6404, allocations: 85.23 kB / 0.9514 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6404, allocations: 3.938 kB / 0.9514 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.6404, allocations: 1.375 kB / 0.9514 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6404, allocations: 5.312 kB / 0.9514 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.6405, allocations: 20.36 kB / 0.9514 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.6408, allocations: 0.6033 MB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.6408, allocations: 170.5 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.6408, allocations: 92.16 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.6409, allocations: 75.28 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.6409, allocations: 107.6 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.6409, allocations: 0 / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.951e-05/0.641, allocations: 32.64 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.641, allocations: 132 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.6411, allocations: 159.1 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.6411, allocations: 29.7 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.6412, allocations: 98.69 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.6412, allocations: 1.5 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.6412, allocations: 11.06 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.6412, allocations: 321.6 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-06/0.6412, allocations: 0 / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.6413, allocations: 2.406 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.207e-05/0.6413, allocations: 79.28 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.6413, allocations: 80.38 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.677e-05/0.6413, allocations: 34.17 kB / 0.9533 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6414, allocations: 82.09 kB / 0.9534 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6414, allocations: 79.22 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.6414, allocations: 151.8 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-06/0.6414, allocations: 80.33 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.6414, allocations: 159.7 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.6416, allocations: 84.69 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.6416, allocations: 82.28 kB / 0.954 GB, free: 4.859 MB / 0.7169 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 6.103e-05/0.6416, allocations: 271.3 kB / 0.9543 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.6417, allocations: 107.4 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.6417, allocations: 120.2 kB / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.6417, allocations: 185.4 kB / 0.9547 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/0.6418, allocations: 181.3 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.6418, allocations: 185.1 kB / 0.955 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.6419, allocations: 417 kB / 0.9554 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.6419, allocations: 105.9 kB / 0.9555 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.642, allocations: 106.1 kB / 0.9556 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/0.642, allocations: 181.6 kB / 0.9558 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.642, allocations: 185.7 kB / 0.956 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/0.642, allocations: 176.6 kB / 0.9561 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-05/0.6421, allocations: 182.1 kB / 0.9563 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.794e-05/0.6421, allocations: 316.9 kB / 0.9566 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.6422, allocations: 192.9 kB / 0.9568 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.6422, allocations: 178 kB / 0.957 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.6423, allocations: 106 kB / 0.9571 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.6423, allocations: 185.5 kB / 0.9573 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.6423, allocations: 109 kB / 0.9574 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.6424, allocations: 122.1 kB / 0.9575 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6424, allocations: 0 / 0.9575 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002535/0.6426, allocations: 3.469 kB / 0.9575 GB, free: 1.168 MB / 0.7169 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.0002079/0.6429, allocations: 0.8155 MB / 0.9583 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.232e-05/0.6429, allocations: 1.188 kB / 0.9583 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6429, allocations: 0 / 0.9583 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.6429, allocations: 1.344 kB / 0.9583 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.6432, allocations: 469.1 kB / 0.9587 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.6447, allocations: 1.809 MB / 0.9605 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.6449, allocations: 0.6924 MB / 0.9612 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.645, allocations: 3.75 kB / 0.9612 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.645, allocations: 20.77 kB / 0.9612 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/0.645, allocations: 112 / 0.9612 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.6621, allocations: 1.529 MB / 0.9627 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/8.034, allocations: 10.45 kB / 0.9627 GB, free: 12.62 MB / 0.7325 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