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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001022/0.001022, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008518/0.008518, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.6388, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0006274/0.6394, allocations: 376.4 kB / 0.9555 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002955/0.6397, allocations: 107.3 kB / 0.9556 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.6398, allocations: 0.8125 kB / 0.9556 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.315e-05/0.6399, allocations: 8.922 kB / 0.9556 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.6401, allocations: 21.45 kB / 0.9557 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.241e-05/0.6402, allocations: 10.39 kB / 0.9557 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.914e-05/0.6402, allocations: 27.89 kB / 0.9557 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.6403, allocations: 23.02 kB / 0.9557 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.894e-05/0.6404, allocations: 51.52 kB / 0.9558 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.6405, allocations: 7.438 kB / 0.9558 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.6405, allocations: 1.469 kB / 0.9558 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-06/0.6405, allocations: 0 / 0.9558 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.6406, allocations: 17.88 kB / 0.9558 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.6406, allocations: 41.95 kB / 0.9558 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.135e-05/0.6407, allocations: 43.19 kB / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.6407, allocations: 0 / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6407, allocations: 1.438 kB / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.6407, allocations: 0 / 0.9559 GB, free: 7.164 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.0001998/0.6409, allocations: 351.3 kB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.6409, allocations: 13.38 kB / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.154e-05/0.6409, allocations: 31.94 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.641, allocations: 4.188 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.6411, allocations: 181.3 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.6411, allocations: 6.562 kB / 0.9564 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.6411, allocations: 6.5 kB / 0.9564 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.6412, allocations: 86.67 kB / 0.9565 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6412, allocations: 3.938 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.6413, allocations: 0 / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.6413, allocations: 1.25 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.6413, allocations: 29 kB / 0.9566 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.6416, allocations: 0.6039 MB / 0.9572 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.323e-05/0.6416, allocations: 169.1 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.6416, allocations: 85.33 kB / 0.9574 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.6417, allocations: 75.28 kB / 0.9575 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.6417, allocations: 107.4 kB / 0.9576 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.6417, allocations: 4 kB / 0.9576 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.543e-05/0.6418, allocations: 32.58 kB / 0.9576 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.6418, allocations: 127.7 kB / 0.9577 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6419, allocations: 166.5 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.6419, allocations: 25.7 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.6419, allocations: 92.45 kB / 0.958 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.6419, allocations: 3.938 kB / 0.958 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.642, allocations: 9.719 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.642, allocations: 325.3 kB / 0.9583 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-06/0.642, allocations: 0 / 0.9583 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.642, allocations: 3.219 kB / 0.9583 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.029e-05/0.642, allocations: 75.28 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.6421, allocations: 75.28 kB / 0.9585 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.82e-05/0.6421, allocations: 30.8 kB / 0.9585 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6421, allocations: 84.95 kB / 0.9586 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6422, allocations: 88.69 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.6422, allocations: 156 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-06/0.6422, allocations: 76.25 kB / 0.9589 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.6422, allocations: 159.7 kB / 0.959 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.6423, allocations: 85.31 kB / 0.9591 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.6423, allocations: 80.12 kB / 0.9592 GB, free: 3.676 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 5.673e-05/0.6424, allocations: 274 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.6424, allocations: 104.2 kB / 0.9596 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.6425, allocations: 120.8 kB / 0.9597 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.6425, allocations: 189.3 kB / 0.9599 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.6425, allocations: 177.5 kB / 0.96 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.6425, allocations: 185.3 kB / 0.9602 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.6427, allocations: 421.1 kB / 0.9606 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.6427, allocations: 102.4 kB / 0.9607 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.6427, allocations: 106 kB / 0.9608 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/0.6427, allocations: 185.2 kB / 0.961 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.6428, allocations: 181.2 kB / 0.9611 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/0.6428, allocations: 185.3 kB / 0.9613 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/0.6428, allocations: 185.3 kB / 0.9615 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.418e-05/0.6429, allocations: 309.3 kB / 0.9618 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.6429, allocations: 192.7 kB / 0.962 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.6429, allocations: 178.6 kB / 0.9621 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.643, allocations: 112.9 kB / 0.9623 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.643, allocations: 181.5 kB / 0.9624 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.643, allocations: 102.8 kB / 0.9625 GB, free: 80 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.542e-05/0.6431, allocations: 121.5 kB / 0.9626 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6431, allocations: 0 / 0.9626 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002459/0.6434, allocations: 3.188 kB / 0.9626 GB, free: 15.98 MB / 0.7325 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.0003289/0.6437, allocations: 0.8226 MB / 0.9635 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 2.92e-05/0.6437, allocations: 0.875 kB / 0.9635 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6438, allocations: 1.031 kB / 0.9635 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.6438, allocations: 0 / 0.9635 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.6441, allocations: 0.5346 MB / 0.964 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.6453, allocations: 1.815 MB / 0.9657 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.6456, allocations: 0.6881 MB / 0.9664 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.491e-05/0.6456, allocations: 12.2 kB / 0.9664 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.6456, allocations: 18 kB / 0.9664 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.6456, allocations: 0 / 0.9664 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009995/0.6556, allocations: 1.341 MB / 0.9678 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.6558, allocations: 218.5 kB / 0.968 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.461, allocations: 3.938 kB / 0.968 GB, free: 11.32 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