Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.004617/0.004617, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001065/0.001065, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.762/2.762, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 56.12 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2635, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.7677/1.031, allocations: 214.1 MB / 1.429 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0146/1.046, allocations: 12.16 MB / 1.441 GB, free: 3.363 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/1.047, allocations: 42.34 kB / 1.441 GB, free: 3.344 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/1.049, allocations: 0.5088 MB / 1.441 GB, free: 2.883 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004684/1.053, allocations: 1.955 MB / 1.443 GB, free: 1.297 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/1.058, allocations: 1.94 MB / 1.445 GB, free: 15.37 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002859/1.061, allocations: 2.379 MB / 1.447 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/1.063, allocations: 1.204 MB / 1.449 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/1.064, allocations: 0.8444 MB / 1.449 GB, free: 10.92 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/1.065, allocations: 0.6534 MB / 1.45 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/1.065, allocations: 92 kB / 1.45 GB, free: 10.18 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005218/1.071, allocations: 2.71 MB / 1.453 GB, free: 7.461 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005716/1.071, allocations: 0.5337 MB / 1.453 GB, free: 6.926 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.072, allocations: 0.7309 MB / 1.454 GB, free: 6.191 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005028/1.077, allocations: 3.103 MB / 1.457 GB, free: 3.078 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.077, allocations: 0 / 1.457 GB, free: 3.078 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.663e-06/1.077, allocations: 3.938 kB / 1.457 GB, free: 3.074 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.081e-05/1.077, allocations: 0 / 1.457 GB, free: 3.074 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002872/1.08, allocations: 1.777 MB / 1.459 GB, free: 1.238 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.08, allocations: 8.031 kB / 1.459 GB, free: 1.23 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/1.081, allocations: 164.6 kB / 1.459 GB, free: 1.059 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/1.082, allocations: 382.7 kB / 1.459 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/1.084, allocations: 0.9628 MB / 1.46 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/1.084, allocations: 78.03 kB / 1.46 GB, free: 15.6 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.084, allocations: 96 kB / 1.46 GB, free: 15.51 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.086, allocations: 1.513 MB / 1.462 GB, free: 13.88 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/1.086, allocations: 3.938 kB / 1.462 GB, free: 13.88 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/1.087, allocations: 48 kB / 1.462 GB, free: 13.83 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/1.087, allocations: 61.42 kB / 1.462 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/1.088, allocations: 1.021 MB / 1.463 GB, free: 12.75 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/1.094, allocations: 5.834 MB / 1.469 GB, free: 6.609 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/1.095, allocations: 322.2 kB / 1.469 GB, free: 6.258 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/1.095, allocations: 251.7 kB / 1.469 GB, free: 6 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006633/1.096, allocations: 0.7039 MB / 1.47 GB, free: 5.148 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/1.096, allocations: 42.5 kB / 1.47 GB, free: 5.098 MB / 1.154 GB Notification: Performance of pre-optimization done (n=28): time 2.195e-06/1.096, allocations: 0 / 1.47 GB, free: 5.098 MB / 1.154 GB Notification: Performance of matching and sorting (n=28): time 0.001301/1.097, allocations: 0.68 MB / 1.471 GB, free: 4.414 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/1.097, allocations: 136.5 kB / 1.471 GB, free: 4.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/1.099, allocations: 1.654 MB / 1.472 GB, free: 2.586 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/1.099, allocations: 33.7 kB / 1.472 GB, free: 2.547 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/1.099, allocations: 0.5543 MB / 1.473 GB, free: 1.988 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/1.1, allocations: 107.2 kB / 1.473 GB, free: 1.883 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/1.1, allocations: 69.69 kB / 1.473 GB, free: 1.809 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/1.1, allocations: 317.9 kB / 1.473 GB, free: 1.492 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.1, allocations: 159.9 kB / 1.474 GB, free: 1.336 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/1.1, allocations: 290.1 kB / 1.474 GB, free: 1.016 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/1.101, allocations: 434 kB / 1.474 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.101, allocations: 0 / 1.474 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000782/1.102, allocations: 0.5673 MB / 1.475 GB, free: 15.98 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.102, allocations: 16.23 kB / 1.475 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.102, allocations: 4 kB / 1.475 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.102, allocations: 4 kB / 1.475 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/1.102, allocations: 51.92 kB / 1.475 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.102, allocations: 4 kB / 1.475 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/1.102, allocations: 111.8 kB / 1.475 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/1.103, allocations: 20 kB / 1.475 GB, free: 15.77 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004171/1.103, allocations: 385.5 kB / 1.475 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.103, allocations: 143.1 kB / 1.475 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/1.104, allocations: 389.9 kB / 1.476 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.104, allocations: 3.938 kB / 1.476 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.104, allocations: 4 kB / 1.476 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.104, allocations: 3.984 kB / 1.476 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/1.107, allocations: 2.517 MB / 1.478 GB, free: 12.13 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.107, allocations: 4 kB / 1.478 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/1.107, allocations: 55.84 kB / 1.478 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.107, allocations: 11.94 kB / 1.478 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/1.107, allocations: 15.94 kB / 1.478 GB, free: 12.04 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.107, allocations: 8 kB / 1.478 GB, free: 12.04 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.107, allocations: 11.94 kB / 1.478 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/1.108, allocations: 0.6233 MB / 1.479 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/1.109, allocations: 308 kB / 1.479 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/1.109, allocations: 12 kB / 1.479 GB, free: 10.97 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/1.109, allocations: 12 kB / 1.479 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/1.109, allocations: 35.92 kB / 1.479 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/1.109, allocations: 24 kB / 1.479 GB, free: 10.9 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001501/1.111, allocations: 1.203 MB / 1.481 GB, free: 9.699 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/1.111, allocations: 0 / 1.481 GB, free: 9.699 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009521/1.112, allocations: 331.4 kB / 1.481 GB, free: 9.375 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.002413/1.114, allocations: 1.675 MB / 1.483 GB, free: 7.605 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005858/1.115, allocations: 359.7 kB / 1.483 GB, free: 7.254 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.115, allocations: 0 / 1.483 GB, free: 7.254 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.115, allocations: 161.2 kB / 1.483 GB, free: 7.098 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.119, allocations: 0.9098 MB / 1.484 GB, free: 6.211 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.132, allocations: 10.42 MB / 1.494 GB, free: 11.43 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/1.133, allocations: 1.204 MB / 1.495 GB, free: 10.19 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000856/1.133, allocations: 302.6 kB / 1.496 GB, free: 9.891 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/1.134, allocations: 459.3 kB / 1.496 GB, free: 9.445 MB / 1.186 GB Notification: Performance of SimCode: time 4.31e-07/1.134, allocations: 0 / 1.496 GB, free: 9.445 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/1.205, allocations: 43.8 MB / 1.539 GB, free: 14.06 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.73/10.94, allocations: 0 / 1.539 GB, free: 14.06 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches