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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007638/0.007638, allocations: 98.73 kB / 15.73 MB, free: 6.434 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.002052/0.002052, allocations: 196.2 kB / 16.67 MB, free: 6.332 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.083 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2854, allocations: 162.2 MB / 1.241 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.7519/1.037, allocations: 214.1 MB / 1.451 GB, free: 1.684 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01564/1.053, allocations: 12.17 MB / 1.462 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/1.054, allocations: 43.69 kB / 1.462 GB, free: 5.441 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/1.055, allocations: 0.5041 MB / 1.463 GB, free: 4.934 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/1.06, allocations: 1.878 MB / 1.465 GB, free: 3.047 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00437/1.064, allocations: 1.903 MB / 1.467 GB, free: 1.152 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002713/1.067, allocations: 2.364 MB / 1.469 GB, free: 14.78 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/1.068, allocations: 1.213 MB / 1.47 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005875/1.074, allocations: 2.979 MB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008466/1.075, allocations: 0.6495 MB / 1.474 GB, free: 9.918 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/1.075, allocations: 88 kB / 1.474 GB, free: 9.832 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/1.08, allocations: 2.479 MB / 1.476 GB, free: 7.348 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005132/1.081, allocations: 0.5415 MB / 1.477 GB, free: 6.805 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007769/1.081, allocations: 0.7231 MB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/1.086, allocations: 3.103 MB / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/1.086, allocations: 0 / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/1.086, allocations: 0 / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.14e-05/1.086, allocations: 0 / 1.48 GB, free: 2.965 MB / 1.17 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.002314/1.088, allocations: 1.777 MB / 1.482 GB, free: 1.129 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.088, allocations: 12.03 kB / 1.482 GB, free: 1.117 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/1.088, allocations: 172.6 kB / 1.482 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/1.09, allocations: 374.7 kB / 1.483 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.091, allocations: 0.9667 MB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/1.091, allocations: 78.02 kB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/1.092, allocations: 100 kB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/1.094, allocations: 1.516 MB / 1.485 GB, free: 13.76 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.094, allocations: 3.938 kB / 1.485 GB, free: 13.76 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/1.094, allocations: 44 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.19e-05/1.094, allocations: 65.47 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/1.095, allocations: 1.017 MB / 1.486 GB, free: 12.63 MB / 1.186 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.005958/1.101, allocations: 5.838 MB / 1.492 GB, free: 6.48 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/1.102, allocations: 314.2 kB / 1.492 GB, free: 6.137 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/1.102, allocations: 252.4 kB / 1.493 GB, free: 5.879 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/1.103, allocations: 0.7158 MB / 1.493 GB, free: 5.016 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.103, allocations: 38.56 kB / 1.493 GB, free: 4.969 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/1.103, allocations: 0 / 1.493 GB, free: 4.969 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001325/1.104, allocations: 0.6782 MB / 1.494 GB, free: 4.285 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/1.105, allocations: 132.5 kB / 1.494 GB, free: 4.125 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/1.107, allocations: 1.654 MB / 1.496 GB, free: 2.461 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/1.107, allocations: 33.7 kB / 1.496 GB, free: 2.422 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/1.107, allocations: 0.5504 MB / 1.496 GB, free: 1.867 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/1.107, allocations: 107.2 kB / 1.496 GB, free: 1.762 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.108, allocations: 65.7 kB / 1.497 GB, free: 1.691 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.108, allocations: 325.8 kB / 1.497 GB, free: 1.367 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/1.108, allocations: 159.9 kB / 1.497 GB, free: 1.211 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/1.108, allocations: 294.6 kB / 1.497 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/1.109, allocations: 430.8 kB / 1.498 GB, free: 440 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.109, allocations: 4 kB / 1.498 GB, free: 436 kB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000808/1.11, allocations: 0.564 MB / 1.498 GB, free: 15.86 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.11, allocations: 8.25 kB / 1.498 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.11, allocations: 11.94 kB / 1.498 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.11, allocations: 4 kB / 1.498 GB, free: 15.83 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/1.11, allocations: 55.91 kB / 1.498 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.11, allocations: 4 kB / 1.498 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/1.11, allocations: 115 kB / 1.498 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/1.111, allocations: 20 kB / 1.498 GB, free: 15.64 MB / 1.201 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.0004484/1.111, allocations: 377.5 kB / 1.499 GB, free: 15.26 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/1.111, allocations: 147 kB / 1.499 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/1.112, allocations: 389.9 kB / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/1.112, allocations: 4.094 kB / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.112, allocations: 0 / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.112, allocations: 3.984 kB / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/1.115, allocations: 2.517 MB / 1.502 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.115, allocations: 4 kB / 1.502 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/1.115, allocations: 55.91 kB / 1.502 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.115, allocations: 8 kB / 1.502 GB, free: 11.94 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.115, allocations: 11.94 kB / 1.502 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.115, allocations: 11.94 kB / 1.502 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.115, allocations: 11.94 kB / 1.502 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/1.116, allocations: 0.6171 MB / 1.502 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/1.117, allocations: 304 kB / 1.503 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.117, allocations: 19.98 kB / 1.503 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/1.117, allocations: 15.94 kB / 1.503 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/1.117, allocations: 35.73 kB / 1.503 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.117, allocations: 19.98 kB / 1.503 GB, free: 10.79 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001525/1.119, allocations: 1.207 MB / 1.504 GB, free: 9.582 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.119, allocations: 0 / 1.504 GB, free: 9.582 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000872/1.12, allocations: 335.4 kB / 1.504 GB, free: 9.254 MB / 1.201 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.002318/1.122, allocations: 1.677 MB / 1.506 GB, free: 7.484 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005652/1.123, allocations: 363.8 kB / 1.506 GB, free: 7.129 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.123, allocations: 0 / 1.506 GB, free: 7.129 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/1.123, allocations: 161.2 kB / 1.507 GB, free: 6.973 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/1.126, allocations: 0.9174 MB / 1.507 GB, free: 6.082 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.14, allocations: 10.41 MB / 1.518 GB, free: 11.31 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008871/1.14, allocations: 1.204 MB / 1.519 GB, free: 10.08 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007757/1.141, allocations: 302.6 kB / 1.519 GB, free: 9.777 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/1.142, allocations: 459.3 kB / 1.519 GB, free: 9.328 MB / 1.217 GB Notification: Performance of SimCode: time 4.1e-07/1.142, allocations: 0 / 1.519 GB, free: 9.328 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07932/1.221, allocations: 43.79 MB / 1.562 GB, free: 13.96 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.56, allocations: 7.875 kB / 1.562 GB, free: 13.95 MB / 1.264 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 400 --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