Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_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.004797/0.004797, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001095/0.001095, allocations: 192.2 kB / 16.67 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.165/2.165, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.89 kB / 0.9504 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7159, allocations: 140.4 MB / 1.087 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2315/0.9474, allocations: 214.1 MB / 1.297 GB, free: 7.617 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.9627, allocations: 12.16 MB / 1.308 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.9641, allocations: 43.69 kB / 1.308 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.9656, allocations: 0.5041 MB / 1.309 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.9707, allocations: 1.96 MB / 1.311 GB, free: 8.895 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.9752, allocations: 1.942 MB / 1.313 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.9782, allocations: 2.379 MB / 1.315 GB, free: 4.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.98, allocations: 1.198 MB / 1.316 GB, free: 3.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.9819, allocations: 0.8366 MB / 1.317 GB, free: 2.516 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.9829, allocations: 0.6573 MB / 1.318 GB, free: 1.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.9832, allocations: 92 kB / 1.318 GB, free: 1.766 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005543/0.9887, allocations: 2.708 MB / 1.32 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.9894, allocations: 0.5415 MB / 1.321 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.9906, allocations: 0.7309 MB / 1.322 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.9959, allocations: 3.099 MB / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9959, allocations: 0 / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9959, allocations: 0 / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.204e-05/0.996, allocations: 0 / 1.325 GB, free: 10.66 MB / 1.061 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.003037/0.999, allocations: 1.779 MB / 1.326 GB, free: 8.828 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.9991, allocations: 8.031 kB / 1.326 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002663/0.9994, allocations: 176.6 kB / 1.327 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/1.001, allocations: 386.6 kB / 1.327 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/1.003, allocations: 0.9589 MB / 1.328 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/1.003, allocations: 78.03 kB / 1.328 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.003, allocations: 96 kB / 1.328 GB, free: 7.082 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/1.006, allocations: 1.513 MB / 1.33 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/1.006, allocations: 3.938 kB / 1.33 GB, free: 5.457 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.006, allocations: 51.94 kB / 1.33 GB, free: 5.406 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.265e-05/1.006, allocations: 61.52 kB / 1.33 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/1.007, allocations: 1.013 MB / 1.331 GB, free: 4.332 MB / 1.061 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.006566/1.014, allocations: 5.834 MB / 1.336 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/1.015, allocations: 326.3 kB / 1.337 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/1.015, allocations: 251.5 kB / 1.337 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/1.016, allocations: 0.7077 MB / 1.338 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.016, allocations: 38.56 kB / 1.338 GB, free: 12.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/1.016, allocations: 0 / 1.338 GB, free: 12.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001376/1.017, allocations: 0.6767 MB / 1.338 GB, free: 11.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/1.017, allocations: 132.5 kB / 1.338 GB, free: 11.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/1.019, allocations: 1.654 MB / 1.34 GB, free: 10.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/1.019, allocations: 37.7 kB / 1.34 GB, free: 10.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/1.02, allocations: 0.5581 MB / 1.341 GB, free: 9.555 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/1.02, allocations: 99.16 kB / 1.341 GB, free: 9.457 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.02, allocations: 73.69 kB / 1.341 GB, free: 9.379 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.02, allocations: 321.9 kB / 1.341 GB, free: 9.059 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/1.02, allocations: 159.9 kB / 1.341 GB, free: 8.902 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/1.021, allocations: 290.1 kB / 1.342 GB, free: 8.582 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/1.021, allocations: 430 kB / 1.342 GB, free: 8.125 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.021, allocations: 0 / 1.342 GB, free: 8.125 MB / 1.076 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008168/1.022, allocations: 0.5667 MB / 1.342 GB, free: 7.551 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.022, allocations: 8 kB / 1.342 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.022, allocations: 256 / 1.342 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.022, allocations: 12 kB / 1.342 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/1.022, allocations: 59.84 kB / 1.343 GB, free: 7.473 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.022, allocations: 4 kB / 1.343 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/1.023, allocations: 107 kB / 1.343 GB, free: 7.363 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/1.023, allocations: 23.98 kB / 1.343 GB, free: 7.34 MB / 1.076 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.0004494/1.023, allocations: 381.5 kB / 1.343 GB, free: 6.957 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/1.024, allocations: 143.1 kB / 1.343 GB, free: 6.816 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/1.024, allocations: 393.2 kB / 1.344 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.024, allocations: 0 / 1.344 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.024, allocations: 4 kB / 1.344 GB, free: 6.402 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.024, allocations: 0 / 1.344 GB, free: 6.402 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/1.028, allocations: 2.513 MB / 1.346 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.028, allocations: 4 kB / 1.346 GB, free: 3.703 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/1.028, allocations: 51.98 kB / 1.346 GB, free: 3.652 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/1.028, allocations: 11.94 kB / 1.346 GB, free: 3.641 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.028, allocations: 19.92 kB / 1.346 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/1.028, allocations: 11.94 kB / 1.346 GB, free: 3.609 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.028, allocations: 11.94 kB / 1.346 GB, free: 3.598 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/1.029, allocations: 0.6322 MB / 1.347 GB, free: 2.867 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/1.029, allocations: 300.1 kB / 1.347 GB, free: 2.555 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/1.03, allocations: 15.98 kB / 1.347 GB, free: 2.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/1.03, allocations: 19.98 kB / 1.347 GB, free: 2.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/1.03, allocations: 31.8 kB / 1.347 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/1.03, allocations: 20 kB / 1.347 GB, free: 2.469 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00156/1.032, allocations: 1.207 MB / 1.348 GB, free: 1.266 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.3e-07/1.032, allocations: 4 kB / 1.348 GB, free: 1.262 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000988/1.033, allocations: 327.4 kB / 1.349 GB, free: 0.9414 MB / 1.076 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.002447/1.035, allocations: 1.667 MB / 1.35 GB, free: 15.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005725/1.036, allocations: 351.9 kB / 1.351 GB, free: 14.84 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.036, allocations: 4.125 kB / 1.351 GB, free: 14.83 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/1.036, allocations: 159.6 kB / 1.351 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/1.04, allocations: 0.9245 MB / 1.352 GB, free: 13.78 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.054, allocations: 10.42 MB / 1.362 GB, free: 3.004 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/1.055, allocations: 1.197 MB / 1.363 GB, free: 1.777 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009006/1.055, allocations: 306.6 kB / 1.363 GB, free: 1.473 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.056, allocations: 459.3 kB / 1.364 GB, free: 1.027 MB / 1.092 GB Notification: Performance of SimCode: time 2.073e-06/1.056, allocations: 0 / 1.364 GB, free: 1.027 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07049/1.127, allocations: 43.79 MB / 1.406 GB, free: 5.727 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.918/11.04, allocations: 3.984 kB / 1.406 GB, free: 5.723 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches