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.001526/0.001525, allocations: 108 kB / 15.6 MB, free: 132 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.001791/0.001791, allocations: 191 kB / 16.53 MB, free: 6.391 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.6/2.6, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.88 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7497, allocations: 140.4 MB / 0.9497 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001687/0.7514, allocations: 0.627 MB / 0.9503 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.7517, allocations: 111.1 kB / 0.9505 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.7518, allocations: 1.375 kB / 0.9505 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.131e-05/0.7519, allocations: 3.984 kB / 0.9505 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.7522, allocations: 32.28 kB / 0.9505 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.703e-05/0.7522, allocations: 13.3 kB / 0.9505 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.7523, allocations: 28.3 kB / 0.9505 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.7524, allocations: 24.36 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.7526, allocations: 52.52 kB / 0.9506 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.7526, allocations: 15.86 kB / 0.9506 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.7526, allocations: 2.781 kB / 0.9506 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.7527, allocations: 2.375 kB / 0.9506 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.7527, allocations: 9.156 kB / 0.9506 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.7527, allocations: 24.86 kB / 0.9507 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.573e-05/0.7528, allocations: 40.61 kB / 0.9507 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7528, allocations: 3.938 kB / 0.9507 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7528, allocations: 0 / 0.9507 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7528, allocations: 1.219 kB / 0.9507 GB, free: 8.547 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.0002373/0.7531, allocations: 359.2 kB / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7531, allocations: 9.906 kB / 0.951 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.7531, allocations: 36.31 kB / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.7532, allocations: 8.031 kB / 0.9511 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.7533, allocations: 185.2 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.7533, allocations: 9.5 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.7533, allocations: 4.5 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.7534, allocations: 85.27 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.7535, allocations: 3.938 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.7535, allocations: 5.531 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7535, allocations: 1.281 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.7535, allocations: 20.45 kB / 0.9514 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.7538, allocations: 0.6032 MB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/0.7539, allocations: 170.6 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.7539, allocations: 84.17 kB / 0.9522 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.7539, allocations: 75.28 kB / 0.9523 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.7539, allocations: 107.2 kB / 0.9524 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.754, allocations: 4 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.052e-05/0.754, allocations: 32.45 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.7541, allocations: 135.9 kB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.7542, allocations: 164.4 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.7542, allocations: 25.7 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.7542, allocations: 95.8 kB / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.7542, allocations: 0 / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.7542, allocations: 14.98 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.7543, allocations: 317.6 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-06/0.7543, allocations: 0 / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.7543, allocations: 6.75 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.305e-05/0.7543, allocations: 76.75 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.7544, allocations: 75.28 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.999e-05/0.7544, allocations: 37.53 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.7544, allocations: 80.28 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.7545, allocations: 80.78 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.7545, allocations: 155.9 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.005e-05/0.7545, allocations: 79.22 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.7545, allocations: 152.3 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.7546, allocations: 86.47 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.7547, allocations: 88.08 kB / 0.954 GB, free: 5.047 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 7.022e-05/0.7547, allocations: 266.6 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.7548, allocations: 116 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.7548, allocations: 116.7 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/0.7549, allocations: 181.5 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/0.7549, allocations: 176.3 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.7549, allocations: 193.5 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.7551, allocations: 417.6 kB / 0.9554 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.7551, allocations: 109.9 kB / 0.9555 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.7551, allocations: 102.2 kB / 0.9556 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.159e-05/0.7551, allocations: 181.5 kB / 0.9558 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.7551, allocations: 181.4 kB / 0.956 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.241e-05/0.7552, allocations: 181.7 kB / 0.9561 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-05/0.7552, allocations: 180.2 kB / 0.9563 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.562e-05/0.7553, allocations: 318.3 kB / 0.9566 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.7553, allocations: 185.3 kB / 0.9568 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.7553, allocations: 181.3 kB / 0.957 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.7554, allocations: 110.5 kB / 0.9571 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.7554, allocations: 180.2 kB / 0.9573 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.7555, allocations: 106.2 kB / 0.9574 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.7555, allocations: 126.3 kB / 0.9575 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7555, allocations: 0 / 0.9575 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000249/0.7558, allocations: 2.625 kB / 0.9575 GB, free: 1.359 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.0002459/0.756, allocations: 0.8116 MB / 0.9583 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.001e-05/0.7561, allocations: 4.969 kB / 0.9583 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7561, allocations: 1.406 kB / 0.9583 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.215e-06/0.7561, allocations: 3.938 kB / 0.9583 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.7564, allocations: 469.9 kB / 0.9587 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.7576, allocations: 1.805 MB / 0.9605 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.7579, allocations: 0.6966 MB / 0.9612 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.7579, allocations: 7.562 kB / 0.9612 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.758, allocations: 16.53 kB / 0.9612 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.758, allocations: 0 / 0.9612 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.7753, allocations: 1.533 MB / 0.9627 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/8.144, allocations: 18.31 kB / 0.9627 GB, free: 12.8 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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