Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_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.006825/0.006825, allocations: 99.52 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.001635/0.001635, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2673, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.7688/1.036, allocations: 214.1 MB / 1.375 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01503/1.051, allocations: 12.15 MB / 1.387 GB, free: 7.996 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/1.053, allocations: 47 kB / 1.387 GB, free: 7.973 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.054, allocations: 0.5122 MB / 1.388 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/1.06, allocations: 1.962 MB / 1.39 GB, free: 6.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004646/1.064, allocations: 1.93 MB / 1.391 GB, free: 4.609 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002818/1.067, allocations: 2.376 MB / 1.394 GB, free: 3.207 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/1.069, allocations: 1.21 MB / 1.395 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/1.07, allocations: 0.843 MB / 1.396 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/1.071, allocations: 0.6627 MB / 1.396 GB, free: 1.641 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/1.072, allocations: 87.84 kB / 1.396 GB, free: 1.641 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/1.077, allocations: 2.705 MB / 1.399 GB, free: 108 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005764/1.077, allocations: 0.5373 MB / 1.4 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/1.078, allocations: 0.7284 MB / 1.4 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004457/1.083, allocations: 3.106 MB / 1.403 GB, free: 13.4 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.083, allocations: 0 / 1.403 GB, free: 13.4 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.823e-06/1.083, allocations: 0 / 1.403 GB, free: 13.4 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.978e-05/1.083, allocations: 0 / 1.403 GB, free: 13.4 MB / 1.076 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.002994/1.086, allocations: 1.768 MB / 1.405 GB, free: 12.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.086, allocations: 9.719 kB / 1.405 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/1.086, allocations: 171.5 kB / 1.405 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/1.088, allocations: 384 kB / 1.406 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.09, allocations: 0.9748 MB / 1.407 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/1.09, allocations: 74.38 kB / 1.407 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/1.09, allocations: 99.38 kB / 1.407 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/1.092, allocations: 1.507 MB / 1.408 GB, free: 9.918 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/1.092, allocations: 6.656 kB / 1.408 GB, free: 9.914 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/1.092, allocations: 44.47 kB / 1.408 GB, free: 9.883 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/1.092, allocations: 66.69 kB / 1.408 GB, free: 9.863 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.094, allocations: 1.014 MB / 1.409 GB, free: 9.375 MB / 1.076 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.005922/1.099, allocations: 5.829 MB / 1.415 GB, free: 4.297 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/1.1, allocations: 329.9 kB / 1.415 GB, free: 4.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/1.1, allocations: 245.4 kB / 1.416 GB, free: 3.934 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/1.101, allocations: 0.706 MB / 1.416 GB, free: 3.148 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.101, allocations: 41.38 kB / 1.416 GB, free: 3.102 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/1.101, allocations: 0 / 1.416 GB, free: 3.102 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001277/1.102, allocations: 0.6767 MB / 1.417 GB, free: 2.754 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.102, allocations: 138.1 kB / 1.417 GB, free: 2.594 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/1.104, allocations: 1.653 MB / 1.419 GB, free: 1.449 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/1.104, allocations: 33.7 kB / 1.419 GB, free: 1.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/1.105, allocations: 0.5543 MB / 1.419 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/1.105, allocations: 107 kB / 1.419 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.105, allocations: 61.7 kB / 1.419 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/1.105, allocations: 325.9 kB / 1.42 GB, free: 364 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.105, allocations: 159.9 kB / 1.42 GB, free: 204 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/1.106, allocations: 290.1 kB / 1.42 GB, free: 15.88 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/1.106, allocations: 429.9 kB / 1.421 GB, free: 15.42 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.106, allocations: 0 / 1.421 GB, free: 15.42 MB / 1.092 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008145/1.107, allocations: 0.5681 MB / 1.421 GB, free: 14.85 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.107, allocations: 11.94 kB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.107, allocations: 0 / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.107, allocations: 8.25 kB / 1.421 GB, free: 14.83 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/1.107, allocations: 67.84 kB / 1.421 GB, free: 14.76 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.107, allocations: 4 kB / 1.421 GB, free: 14.76 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/1.108, allocations: 107 kB / 1.421 GB, free: 14.65 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/1.108, allocations: 19.98 kB / 1.421 GB, free: 14.63 MB / 1.092 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.0004173/1.108, allocations: 385.4 kB / 1.422 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/1.109, allocations: 143.1 kB / 1.422 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/1.109, allocations: 393.6 kB / 1.422 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/1.109, allocations: 4 kB / 1.422 GB, free: 13.69 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.109, allocations: 4 kB / 1.422 GB, free: 13.69 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.109, allocations: 0 / 1.422 GB, free: 13.69 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/1.113, allocations: 2.517 MB / 1.425 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.113, allocations: 4 kB / 1.425 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.113, allocations: 51.92 kB / 1.425 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.113, allocations: 8.094 kB / 1.425 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.113, allocations: 19.92 kB / 1.425 GB, free: 10.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/1.113, allocations: 11.98 kB / 1.425 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.113, allocations: 11.94 kB / 1.425 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/1.114, allocations: 0.6192 MB / 1.425 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/1.114, allocations: 300 kB / 1.426 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/1.114, allocations: 12 kB / 1.426 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/1.115, allocations: 15.98 kB / 1.426 GB, free: 9.824 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/1.115, allocations: 31.86 kB / 1.426 GB, free: 9.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.115, allocations: 16 kB / 1.426 GB, free: 9.777 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00146/1.116, allocations: 1.211 MB / 1.427 GB, free: 8.57 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.5e-07/1.116, allocations: 4 kB / 1.427 GB, free: 8.566 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009931/1.117, allocations: 327.4 kB / 1.427 GB, free: 8.246 MB / 1.092 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.002229/1.119, allocations: 1.676 MB / 1.429 GB, free: 6.473 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005156/1.12, allocations: 363.4 kB / 1.429 GB, free: 6.117 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.12, allocations: 0.5 kB / 1.429 GB, free: 6.117 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/1.12, allocations: 159.7 kB / 1.429 GB, free: 5.961 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/1.124, allocations: 0.9222 MB / 1.43 GB, free: 5.066 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/1.136, allocations: 10.42 MB / 1.44 GB, free: 10.28 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/1.137, allocations: 1.201 MB / 1.442 GB, free: 9.051 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008414/1.138, allocations: 302.6 kB / 1.442 GB, free: 8.75 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/1.138, allocations: 463.3 kB / 1.442 GB, free: 8.297 MB / 1.107 GB Notification: Performance of SimCode: time 6.31e-07/1.138, allocations: 3.938 kB / 1.442 GB, free: 8.293 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06801/1.206, allocations: 43.8 MB / 1.485 GB, free: 12.94 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.774/10.98, allocations: 11.75 kB / 1.485 GB, free: 12.93 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches