Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.004249/0.004249, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001236/0.001236, allocations: 194 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.736/2.736, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6518, allocations: 159.1 MB / 1.22 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.261/0.9128, allocations: 239.9 MB / 1.454 GB, free: 1.32 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.9243, allocations: 7.199 MB / 1.461 GB, free: 10.11 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.9255, allocations: 51.69 kB / 1.461 GB, free: 10.05 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.9273, allocations: 0.7027 MB / 1.462 GB, free: 9.344 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.9322, allocations: 2.071 MB / 1.464 GB, free: 7.266 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.9367, allocations: 2.037 MB / 1.466 GB, free: 5.238 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004201/0.941, allocations: 3.277 MB / 1.469 GB, free: 1.949 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.9426, allocations: 1.133 MB / 1.471 GB, free: 0.793 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.9458, allocations: 1.79 MB / 1.472 GB, free: 15 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.9474, allocations: 0.9558 MB / 1.473 GB, free: 14.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.9477, allocations: 124 kB / 1.473 GB, free: 13.92 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004293/0.952, allocations: 2.486 MB / 1.476 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.9524, allocations: 470.7 kB / 1.476 GB, free: 10.96 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007629/0.9532, allocations: 0.7271 MB / 1.477 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.9567, allocations: 2.679 MB / 1.48 GB, free: 7.547 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.9567, allocations: 0 / 1.48 GB, free: 7.547 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9567, allocations: 0 / 1.48 GB, free: 7.547 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.9567, allocations: 0 / 1.48 GB, free: 7.547 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002767/0.9595, allocations: 1.753 MB / 1.481 GB, free: 5.734 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9596, allocations: 12.02 kB / 1.481 GB, free: 5.723 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.9597, allocations: 126.8 kB / 1.481 GB, free: 5.59 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.9625, allocations: 434.7 kB / 1.482 GB, free: 5.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.9642, allocations: 1.023 MB / 1.483 GB, free: 4.098 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.9642, allocations: 73.92 kB / 1.483 GB, free: 4.027 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.9644, allocations: 91.95 kB / 1.483 GB, free: 3.938 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.966, allocations: 0.8662 MB / 1.484 GB, free: 3.062 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.9661, allocations: 0 / 1.484 GB, free: 3.062 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/0.9661, allocations: 36 kB / 1.484 GB, free: 3.027 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.9662, allocations: 26 kB / 1.484 GB, free: 3 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.9678, allocations: 0.8081 MB / 1.485 GB, free: 2.195 MB / 1.201 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.00483/0.9727, allocations: 3.648 MB / 1.488 GB, free: 14.25 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.9743, allocations: 1.099 MB / 1.489 GB, free: 13.04 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.975, allocations: 371.5 kB / 1.49 GB, free: 12.68 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/0.9757, allocations: 408.9 kB / 1.49 GB, free: 12.21 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9758, allocations: 35.12 kB / 1.49 GB, free: 12.16 MB / 1.217 GB Notification: Performance of pre-optimization done (n=60): time 3.597e-06/0.9758, allocations: 0 / 1.49 GB, free: 12.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=60): time 0.002197/0.978, allocations: 0.9706 MB / 1.491 GB, free: 11.19 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.978, allocations: 59.97 kB / 1.491 GB, free: 11.12 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.9792, allocations: 0.84 MB / 1.492 GB, free: 10.25 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.9792, allocations: 37.7 kB / 1.492 GB, free: 10.21 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.9797, allocations: 488.8 kB / 1.492 GB, free: 9.727 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.9799, allocations: 226.1 kB / 1.493 GB, free: 9.504 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.9801, allocations: 106.2 kB / 1.493 GB, free: 9.395 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9802, allocations: 330 kB / 1.493 GB, free: 9.066 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.9808, allocations: 255 kB / 1.493 GB, free: 8.816 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/0.9815, allocations: 371.4 kB / 1.494 GB, free: 8.418 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.9826, allocations: 0.5852 MB / 1.494 GB, free: 7.816 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9826, allocations: 0 / 1.494 GB, free: 7.816 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001437/0.9841, allocations: 0.7443 MB / 1.495 GB, free: 7.066 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.9841, allocations: 4 kB / 1.495 GB, free: 7.062 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9841, allocations: 0 / 1.495 GB, free: 7.062 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9841, allocations: 4 kB / 1.495 GB, free: 7.059 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.9847, allocations: 131.8 kB / 1.495 GB, free: 6.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.9848, allocations: 4 kB / 1.495 GB, free: 6.926 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.9855, allocations: 75.67 kB / 1.495 GB, free: 6.852 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.9855, allocations: 24 kB / 1.495 GB, free: 6.828 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008395/0.9864, allocations: 0.4892 MB / 1.496 GB, free: 6.336 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006334/0.987, allocations: 363.5 kB / 1.496 GB, free: 5.949 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00112/0.9882, allocations: 0.5774 MB / 1.497 GB, free: 5.355 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.9882, allocations: 0 / 1.497 GB, free: 5.355 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001392/0.9896, allocations: 0.7286 MB / 1.497 GB, free: 4.621 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.9896, allocations: 8 kB / 1.497 GB, free: 4.613 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9896, allocations: 8.109 kB / 1.497 GB, free: 4.605 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.9896, allocations: 4.188 kB / 1.497 GB, free: 4.602 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.9902, allocations: 123.8 kB / 1.497 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9902, allocations: 15.86 kB / 1.497 GB, free: 4.465 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/0.9909, allocations: 67.64 kB / 1.497 GB, free: 4.398 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.991, allocations: 23.98 kB / 1.497 GB, free: 4.375 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0001841/0.9912, allocations: 220.1 kB / 1.498 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.9913, allocations: 107.3 kB / 1.498 GB, free: 4.047 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.9929, allocations: 0.7315 MB / 1.498 GB, free: 3.309 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.9929, allocations: 7.984 kB / 1.498 GB, free: 3.301 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9929, allocations: 0 / 1.498 GB, free: 3.301 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/0.9943, allocations: 0.9072 MB / 1.499 GB, free: 2.309 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.9977, allocations: 2.251 MB / 1.502 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.9978, allocations: 8 kB / 1.502 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.9985, allocations: 135.8 kB / 1.502 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.9985, allocations: 4 kB / 1.502 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.9985, allocations: 23.98 kB / 1.502 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.9985, allocations: 4 kB / 1.502 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9986, allocations: 4 kB / 1.502 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/1.001, allocations: 1.235 MB / 1.503 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/1.001, allocations: 264.3 kB / 1.503 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.001, allocations: 19.98 kB / 1.503 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/1.002, allocations: 39.95 kB / 1.503 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.002, allocations: 52.27 kB / 1.503 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/1.002, allocations: 23.98 kB / 1.503 GB, free: 14.04 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008134/1.003, allocations: 0.5823 MB / 1.504 GB, free: 13.44 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.81e-07/1.003, allocations: 0 / 1.504 GB, free: 13.44 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001139/1.004, allocations: 0.5341 MB / 1.504 GB, free: 12.91 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.002795/1.007, allocations: 1.913 MB / 1.506 GB, free: 10.93 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001877/1.009, allocations: 0.9508 MB / 1.507 GB, free: 9.988 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.009, allocations: 3.938 kB / 1.507 GB, free: 9.984 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006644/1.009, allocations: 343.2 kB / 1.508 GB, free: 9.648 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.012, allocations: 0.6052 MB / 1.508 GB, free: 9.055 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.023, allocations: 7.627 MB / 1.516 GB, free: 1.195 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/1.024, allocations: 1.12 MB / 1.517 GB, free: 48 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008838/1.025, allocations: 296.1 kB / 1.517 GB, free: 15.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/1.026, allocations: 415.3 kB / 1.517 GB, free: 15.35 MB / 1.248 GB Notification: Performance of SimCode: time 3.11e-07/1.026, allocations: 0 / 1.517 GB, free: 15.35 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06077/1.086, allocations: 29.37 MB / 1.546 GB, free: 2.426 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.538/10.62, allocations: 8 kB / 1.546 GB, free: 2.418 MB / 1.264 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches