Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_11_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.004248/0.004248, allocations: 99.77 kB / 15.73 MB, free: 6.023 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.001199/0.001199, allocations: 195.4 kB / 16.67 MB, free: 5.938 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001913, allocations: 59.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6356, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2294/0.865, allocations: 214.1 MB / 1.429 GB, free: 11.16 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.8801, allocations: 12.16 MB / 1.441 GB, free: 14.97 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.8809, allocations: 47.69 kB / 1.441 GB, free: 14.92 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.882, allocations: 0.508 MB / 1.442 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003984/0.886, allocations: 1.878 MB / 1.443 GB, free: 12.52 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.8901, allocations: 1.906 MB / 1.445 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.8925, allocations: 2.375 MB / 1.448 GB, free: 8.242 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.8941, allocations: 1.202 MB / 1.449 GB, free: 7.016 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.8952, allocations: 0.8288 MB / 1.45 GB, free: 6.184 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.896, allocations: 0.6535 MB / 1.45 GB, free: 5.527 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.8961, allocations: 88 kB / 1.45 GB, free: 5.441 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/0.9008, allocations: 2.7 MB / 1.453 GB, free: 2.734 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.9013, allocations: 0.5454 MB / 1.454 GB, free: 2.188 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.9021, allocations: 0.727 MB / 1.454 GB, free: 1.457 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.906, allocations: 3.091 MB / 1.457 GB, free: 14.36 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.906, allocations: 0 / 1.457 GB, free: 14.36 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.152e-06/0.906, allocations: 0 / 1.457 GB, free: 14.36 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.906, allocations: 4 kB / 1.457 GB, free: 14.35 MB / 1.186 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.002214/0.9082, allocations: 1.777 MB / 1.459 GB, free: 12.52 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.9083, allocations: 12.03 kB / 1.459 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.9085, allocations: 172.6 kB / 1.459 GB, free: 12.32 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.9101, allocations: 374.7 kB / 1.46 GB, free: 11.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.9117, allocations: 0.9706 MB / 1.46 GB, free: 10.95 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.9117, allocations: 77.97 kB / 1.461 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.9119, allocations: 100 kB / 1.461 GB, free: 10.77 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.9141, allocations: 1.505 MB / 1.462 GB, free: 9.152 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.9142, allocations: 7.938 kB / 1.462 GB, free: 9.145 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/0.9143, allocations: 47.94 kB / 1.462 GB, free: 9.098 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/0.9144, allocations: 61.53 kB / 1.462 GB, free: 9.039 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.9159, allocations: 1.017 MB / 1.463 GB, free: 8.02 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.006056/0.9219, allocations: 5.823 MB / 1.469 GB, free: 1.887 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.9225, allocations: 330.1 kB / 1.469 GB, free: 1.527 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.9229, allocations: 247.4 kB / 1.469 GB, free: 1.273 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/0.9236, allocations: 0.7117 MB / 1.47 GB, free: 424 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.9237, allocations: 30.56 kB / 1.47 GB, free: 384 kB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.9237, allocations: 0 / 1.47 GB, free: 384 kB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001321/0.925, allocations: 0.6882 MB / 1.471 GB, free: 15.68 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.9251, allocations: 132.5 kB / 1.471 GB, free: 15.52 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.9272, allocations: 1.654 MB / 1.473 GB, free: 13.85 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.9272, allocations: 33.64 kB / 1.473 GB, free: 13.81 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005398/0.9278, allocations: 0.5581 MB / 1.473 GB, free: 13.25 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.9279, allocations: 103.3 kB / 1.473 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.928, allocations: 65.7 kB / 1.473 GB, free: 13.08 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9281, allocations: 321.7 kB / 1.474 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.9284, allocations: 171.8 kB / 1.474 GB, free: 12.59 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.9287, allocations: 286.2 kB / 1.474 GB, free: 12.28 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.9293, allocations: 430.5 kB / 1.474 GB, free: 11.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9293, allocations: 4 kB / 1.474 GB, free: 11.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008122/0.9301, allocations: 0.5666 MB / 1.475 GB, free: 11.24 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9302, allocations: 8.25 kB / 1.475 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9302, allocations: 4 kB / 1.475 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9302, allocations: 4 kB / 1.475 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.9304, allocations: 55.91 kB / 1.475 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.9305, allocations: 4 kB / 1.475 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.9309, allocations: 107 kB / 1.475 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.931, allocations: 31.92 kB / 1.475 GB, free: 11.03 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.0004546/0.9314, allocations: 378.7 kB / 1.476 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.9316, allocations: 143.1 kB / 1.476 GB, free: 10.51 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.9323, allocations: 388.8 kB / 1.476 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9323, allocations: 4 kB / 1.476 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9323, allocations: 160 / 1.476 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.9323, allocations: 7.984 kB / 1.476 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.9356, allocations: 2.517 MB / 1.479 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.9357, allocations: 8 kB / 1.479 GB, free: 7.387 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.9359, allocations: 55.86 kB / 1.479 GB, free: 7.332 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.9359, allocations: 7.938 kB / 1.479 GB, free: 7.324 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.9359, allocations: 15.98 kB / 1.479 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.9359, allocations: 8 kB / 1.479 GB, free: 7.301 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.9359, allocations: 7.938 kB / 1.479 GB, free: 7.293 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.9367, allocations: 0.6297 MB / 1.479 GB, free: 6.566 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.9371, allocations: 300 kB / 1.48 GB, free: 6.254 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.9372, allocations: 23.98 kB / 1.48 GB, free: 6.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.9376, allocations: 4 kB / 1.48 GB, free: 6.227 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.9377, allocations: 35.86 kB / 1.48 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.9377, allocations: 16 kB / 1.48 GB, free: 6.176 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001551/0.9393, allocations: 1.207 MB / 1.481 GB, free: 4.973 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9393, allocations: 4 kB / 1.481 GB, free: 4.969 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008474/0.9401, allocations: 327.4 kB / 1.481 GB, free: 4.648 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.002315/0.9424, allocations: 1.676 MB / 1.483 GB, free: 2.875 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.943, allocations: 367.7 kB / 1.483 GB, free: 2.516 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.943, allocations: 4 kB / 1.483 GB, free: 2.512 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.9432, allocations: 153.2 kB / 1.483 GB, free: 2.363 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/0.947, allocations: 0.9216 MB / 1.484 GB, free: 1.473 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.9604, allocations: 10.41 MB / 1.494 GB, free: 6.695 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.9613, allocations: 1.193 MB / 1.496 GB, free: 5.473 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008909/0.9622, allocations: 310.6 kB / 1.496 GB, free: 5.164 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.9628, allocations: 459.3 kB / 1.496 GB, free: 4.719 MB / 1.217 GB Notification: Performance of SimCode: time 8.91e-07/0.9628, allocations: 0 / 1.496 GB, free: 4.719 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08019/1.043, allocations: 43.8 MB / 1.539 GB, free: 9.398 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.31, allocations: 11.98 kB / 1.539 GB, free: 9.391 MB / 1.264 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches