Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.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.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_11_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_11_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",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.005976/0.005976, allocations: 99.34 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.001586/0.001586, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2891, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8241/1.113, allocations: 265.5 MB / 1.479 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03409/1.147, allocations: 24.31 MB / 1.503 GB, free: 3.375 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/1.15, allocations: 91.44 kB / 1.503 GB, free: 3.285 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/1.153, allocations: 0.8426 MB / 1.504 GB, free: 2.438 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.009259/1.162, allocations: 3.539 MB / 1.508 GB, free: 14.9 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/1.165, allocations: 1.26 MB / 1.509 GB, free: 13.65 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00474/1.17, allocations: 3.244 MB / 1.512 GB, free: 10.4 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/1.172, allocations: 1.169 MB / 1.513 GB, free: 9.199 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008027/1.18, allocations: 3.342 MB / 1.516 GB, free: 5.844 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/1.182, allocations: 0.9256 MB / 1.517 GB, free: 4.914 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/1.182, allocations: 84 kB / 1.517 GB, free: 4.832 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007793/1.19, allocations: 3.768 MB / 1.521 GB, free: 1.059 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/1.19, allocations: 258.9 kB / 1.521 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/1.192, allocations: 0.6412 MB / 1.522 GB, free: 164 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006731/1.198, allocations: 3.338 MB / 1.525 GB, free: 12.81 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.199, allocations: 0 / 1.525 GB, free: 12.81 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.694e-06/1.199, allocations: 4 kB / 1.525 GB, free: 12.81 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.544e-05/1.199, allocations: 0 / 1.525 GB, free: 12.81 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003823/1.202, allocations: 1.784 MB / 1.527 GB, free: 10.96 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.202, allocations: 12.03 kB / 1.527 GB, free: 10.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/1.203, allocations: 98.52 kB / 1.527 GB, free: 10.85 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/1.205, allocations: 302.8 kB / 1.527 GB, free: 10.55 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/1.207, allocations: 1.187 MB / 1.528 GB, free: 9.309 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/1.207, allocations: 49.25 kB / 1.529 GB, free: 9.262 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.207, allocations: 60 kB / 1.529 GB, free: 9.203 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/1.208, allocations: 0.6761 MB / 1.529 GB, free: 8.465 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.208, allocations: 7.922 kB / 1.529 GB, free: 8.457 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/1.209, allocations: 24 kB / 1.529 GB, free: 8.434 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.209, allocations: 16 kB / 1.529 GB, free: 8.418 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/1.209, allocations: 420.8 kB / 1.53 GB, free: 8.008 MB / 1.217 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.005598/1.215, allocations: 5.372 MB / 1.535 GB, free: 2.094 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/1.215, allocations: 197 kB / 1.535 GB, free: 1.855 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/1.216, allocations: 116.2 kB / 1.535 GB, free: 1.727 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/1.216, allocations: 198.2 kB / 1.535 GB, free: 1.496 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/1.216, allocations: 46.48 kB / 1.535 GB, free: 1.441 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005098/1.217, allocations: 55.7 kB / 1.536 GB, free: 1.387 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 3.376e-06/1.217, allocations: 4 kB / 1.536 GB, free: 1.383 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.001001/1.218, allocations: 353.2 kB / 1.536 GB, free: 1.031 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/1.218, allocations: 158.2 kB / 1.536 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/1.22, allocations: 1.179 MB / 1.537 GB, free: 15.65 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.22, allocations: 29.7 kB / 1.537 GB, free: 15.62 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/1.22, allocations: 0.5825 MB / 1.538 GB, free: 15.03 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/1.22, allocations: 51.62 kB / 1.538 GB, free: 14.98 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/1.22, allocations: 93.59 kB / 1.538 GB, free: 14.88 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.22, allocations: 326 kB / 1.538 GB, free: 14.56 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/1.221, allocations: 92.58 kB / 1.538 GB, free: 14.46 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/1.221, allocations: 391 kB / 1.539 GB, free: 13.95 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/1.222, allocations: 442 kB / 1.539 GB, free: 13.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.222, allocations: 4 kB / 1.539 GB, free: 13.41 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001/1.223, allocations: 0.4947 MB / 1.54 GB, free: 12.91 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.223, allocations: 8 kB / 1.54 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.223, allocations: 8 kB / 1.54 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.223, allocations: 8 kB / 1.54 GB, free: 12.88 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.223, allocations: 83.89 kB / 1.54 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/1.223, allocations: 20.3 kB / 1.54 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/1.224, allocations: 56.02 kB / 1.54 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/1.224, allocations: 27.98 kB / 1.54 GB, free: 12.7 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004666/1.225, allocations: 308 kB / 1.54 GB, free: 12.39 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004315/1.225, allocations: 391.3 kB / 1.54 GB, free: 11.87 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000591/1.226, allocations: 439 kB / 1.541 GB, free: 11.34 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-06/1.226, allocations: 0 / 1.541 GB, free: 11.34 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0009383/1.227, allocations: 493.1 kB / 1.541 GB, free: 10.85 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.227, allocations: 8 kB / 1.541 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.227, allocations: 8.062 kB / 1.541 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.227, allocations: 16 kB / 1.541 GB, free: 10.82 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/1.227, allocations: 87.77 kB / 1.541 GB, free: 10.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.227, allocations: 11.94 kB / 1.541 GB, free: 10.72 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/1.228, allocations: 47.95 kB / 1.541 GB, free: 10.67 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/1.228, allocations: 31.92 kB / 1.542 GB, free: 10.64 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (42): * Single equations (assignments): 42 * 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.0001523/1.228, allocations: 220 kB / 1.542 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/1.228, allocations: 119.2 kB / 1.542 GB, free: 10.3 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/1.229, allocations: 247.1 kB / 1.542 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.229, allocations: 4 kB / 1.542 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.229, allocations: 0 / 1.542 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/1.229, allocations: 7.938 kB / 1.542 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/1.23, allocations: 1.207 MB / 1.543 GB, free: 8.758 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.23, allocations: 0 / 1.543 GB, free: 8.758 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/1.23, allocations: 35.86 kB / 1.543 GB, free: 8.723 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.23, allocations: 7.984 kB / 1.543 GB, free: 8.715 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.23, allocations: 0 / 1.543 GB, free: 8.715 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.23, allocations: 4 kB / 1.543 GB, free: 8.711 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.23, allocations: 128 / 1.543 GB, free: 8.711 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/1.231, allocations: 330.5 kB / 1.544 GB, free: 8.359 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/1.231, allocations: 240.2 kB / 1.544 GB, free: 8.105 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.231, allocations: 4 kB / 1.544 GB, free: 8.102 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/1.232, allocations: 23.97 kB / 1.544 GB, free: 8.078 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/1.232, allocations: 11.98 kB / 1.544 GB, free: 8.066 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/1.232, allocations: 7.984 kB / 1.544 GB, free: 8.059 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001315/1.233, allocations: 0.853 MB / 1.545 GB, free: 7.203 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/1.233, allocations: 0 / 1.545 GB, free: 7.203 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00173/1.235, allocations: 0.7021 MB / 1.545 GB, free: 6.5 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * 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.002672/1.238, allocations: 1.27 MB / 1.547 GB, free: 5.195 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008394/1.238, allocations: 411.2 kB / 1.547 GB, free: 4.797 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.239, allocations: 4.125 kB / 1.547 GB, free: 4.793 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/1.239, allocations: 67.89 kB / 1.547 GB, free: 4.727 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.241, allocations: 0.4895 MB / 1.548 GB, free: 4.258 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.252, allocations: 7.284 MB / 1.555 GB, free: 12.61 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/1.253, allocations: 1.032 MB / 1.556 GB, free: 11.55 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007655/1.253, allocations: 220.4 kB / 1.556 GB, free: 11.33 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/1.254, allocations: 399.3 kB / 1.556 GB, free: 10.94 MB / 1.248 GB Notification: Performance of SimCode: time 5.71e-07/1.254, allocations: 0 / 1.556 GB, free: 10.94 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/1.394, allocations: 36 MB / 1.591 GB, free: 7.309 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.77, allocations: 4.844 kB / 1.591 GB, free: 7.309 MB / 1.279 GB (rm -f Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches