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.001623/0.001623, 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.001833/0.001833, allocations: 196.6 kB / 16.25 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 1.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.425/2.425, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 59.91 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6688, allocations: 140.4 MB / 0.9492 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001967/0.6709, allocations: 0.696 MB / 0.9499 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004126/0.6713, allocations: 102.8 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.6714, allocations: 1.375 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.6715, allocations: 7.922 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.6719, allocations: 24.77 kB / 0.9501 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.479e-05/0.672, allocations: 5.328 kB / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.6721, allocations: 36.88 kB / 0.9501 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.6722, allocations: 20.28 kB / 0.9501 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.6723, allocations: 57.14 kB / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.6724, allocations: 17.86 kB / 0.9502 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.6724, allocations: 2.438 kB / 0.9502 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.6724, allocations: 2.406 kB / 0.9502 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.6725, allocations: 18.38 kB / 0.9502 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.6725, allocations: 16.75 kB / 0.9502 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.976e-05/0.6726, allocations: 47.22 kB / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6726, allocations: 7.938 kB / 0.9503 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6726, allocations: 1.344 kB / 0.9503 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6726, allocations: 0 / 0.9503 GB, free: 8.324 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.0002421/0.6728, allocations: 356.5 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6729, allocations: 8.562 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.6729, allocations: 36.08 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.6729, allocations: 7.906 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6731, allocations: 185.2 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.6731, allocations: 3.156 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.6731, allocations: 11.17 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.6732, allocations: 85.86 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.6732, allocations: 3.938 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.6732, allocations: 1.062 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.6732, allocations: 1.344 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/0.6733, allocations: 20.61 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.6736, allocations: 0.6032 MB / 0.9516 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.065e-05/0.6737, allocations: 170.9 kB / 0.9517 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.6737, allocations: 80.14 kB / 0.9518 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.6738, allocations: 75.28 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.6738, allocations: 117.8 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.6738, allocations: 1.75 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.067e-05/0.6739, allocations: 32.58 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.6739, allocations: 126.7 kB / 0.9521 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6741, allocations: 159.3 kB / 0.9523 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-06/0.6741, allocations: 29.64 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.6742, allocations: 100.4 kB / 0.9524 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.6742, allocations: 0 / 0.9524 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.6742, allocations: 11.22 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.6743, allocations: 317.5 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-06/0.6743, allocations: 0 / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.6743, allocations: 7.016 kB / 0.9527 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.573e-05/0.6743, allocations: 75.28 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.6744, allocations: 76.78 kB / 0.9529 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.63e-05/0.6745, allocations: 39.67 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.6745, allocations: 84.78 kB / 0.953 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.6745, allocations: 79.22 kB / 0.9531 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.6746, allocations: 155.8 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.154e-05/0.6746, allocations: 80.64 kB / 0.9533 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.6746, allocations: 158.4 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6748, allocations: 81.88 kB / 0.9535 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.6748, allocations: 88.69 kB / 0.9536 GB, free: 4.828 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 9.447e-05/0.6749, allocations: 269.8 kB / 0.9539 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.675, allocations: 108.9 kB / 0.954 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.675, allocations: 119.3 kB / 0.9541 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/0.6751, allocations: 185.6 kB / 0.9543 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.887e-05/0.6751, allocations: 181.6 kB / 0.9544 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.6751, allocations: 184.1 kB / 0.9546 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.6753, allocations: 419.1 kB / 0.955 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.6754, allocations: 104.9 kB / 0.9551 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.6754, allocations: 106.4 kB / 0.9552 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.284e-05/0.6754, allocations: 177.6 kB / 0.9554 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.6755, allocations: 188.2 kB / 0.9556 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-05/0.6755, allocations: 181.6 kB / 0.9557 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.653e-05/0.6755, allocations: 181.6 kB / 0.9559 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/0.6756, allocations: 309.2 kB / 0.9562 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.6757, allocations: 192.8 kB / 0.9564 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.6757, allocations: 181.6 kB / 0.9566 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.6758, allocations: 106.3 kB / 0.9567 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.6759, allocations: 181.6 kB / 0.9568 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.6759, allocations: 101 kB / 0.9569 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.968e-05/0.676, allocations: 125.9 kB / 0.9571 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.12e-07/0.676, allocations: 4 kB / 0.9571 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003101/0.6763, allocations: 8.062 kB / 0.9571 GB, free: 1.137 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.000254/0.6766, allocations: 0.8081 MB / 0.9579 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.937e-05/0.6766, allocations: 0 / 0.9579 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6767, allocations: 5.375 kB / 0.9579 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.6767, allocations: 0 / 0.9579 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.677, allocations: 468.1 kB / 0.9583 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.6784, allocations: 1.816 MB / 0.9601 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.6787, allocations: 0.6909 MB / 0.9608 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.504e-05/0.6787, allocations: 4.375 kB / 0.9608 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.6788, allocations: 20.64 kB / 0.9608 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of SimCode: time 1.643e-06/0.6788, allocations: 112 / 0.9608 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.69, allocations: 1.461 MB / 0.9622 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.6903, allocations: 217.2 kB / 0.9624 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.439, allocations: 3.266 kB / 0.9624 GB, free: 12.45 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