Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_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.007222/0.007222, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001683/0.001683, allocations: 195.3 kB / 16.68 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 3.233/3.233, allocations: 469.4 MB / 0.7422 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7229, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.239/0.9619, allocations: 265.5 MB / 1.479 GB, free: 7.789 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03019/0.9921, allocations: 24.32 MB / 1.503 GB, free: 15.41 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.9951, allocations: 91.44 kB / 1.503 GB, free: 15.32 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.9977, allocations: 0.866 MB / 1.504 GB, free: 14.45 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009285/1.007, allocations: 3.662 MB / 1.507 GB, free: 10.79 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/1.01, allocations: 1.258 MB / 1.509 GB, free: 9.539 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00438/1.014, allocations: 3.245 MB / 1.512 GB, free: 6.285 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/1.016, allocations: 1.174 MB / 1.513 GB, free: 5.078 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007643/1.024, allocations: 3.447 MB / 1.516 GB, free: 1.617 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/1.026, allocations: 0.9256 MB / 1.517 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003255/1.026, allocations: 92 kB / 1.517 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007445/1.034, allocations: 3.768 MB / 1.521 GB, free: 12.82 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004561/1.034, allocations: 262.9 kB / 1.521 GB, free: 12.57 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.035, allocations: 0.6412 MB / 1.522 GB, free: 11.92 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006232/1.042, allocations: 3.33 MB / 1.525 GB, free: 8.582 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.042, allocations: 0 / 1.525 GB, free: 8.582 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.603e-06/1.042, allocations: 4 kB / 1.525 GB, free: 8.578 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.912e-05/1.042, allocations: 7.922 kB / 1.525 GB, free: 8.57 MB / 1.248 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.003745/1.045, allocations: 1.788 MB / 1.527 GB, free: 6.723 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.046, allocations: 8.625 kB / 1.527 GB, free: 6.715 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/1.046, allocations: 106.4 kB / 1.527 GB, free: 6.602 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/1.048, allocations: 294.9 kB / 1.527 GB, free: 6.312 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.05, allocations: 1.18 MB / 1.528 GB, free: 5.078 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/1.05, allocations: 49.3 kB / 1.528 GB, free: 5.031 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/1.05, allocations: 64 kB / 1.528 GB, free: 4.969 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/1.051, allocations: 0.68 MB / 1.529 GB, free: 4.227 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/1.051, allocations: 0 / 1.529 GB, free: 4.227 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/1.051, allocations: 20 kB / 1.529 GB, free: 4.207 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.051, allocations: 16 kB / 1.529 GB, free: 4.191 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/1.052, allocations: 432.8 kB / 1.53 GB, free: 3.77 MB / 1.248 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.004883/1.057, allocations: 5.359 MB / 1.535 GB, free: 13.86 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/1.058, allocations: 201 kB / 1.535 GB, free: 13.62 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/1.058, allocations: 116.2 kB / 1.535 GB, free: 13.49 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/1.058, allocations: 202.2 kB / 1.535 GB, free: 13.26 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.058, allocations: 42.5 kB / 1.535 GB, free: 13.21 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005225/1.059, allocations: 59.7 kB / 1.535 GB, free: 13.15 MB / 1.264 GB Notification: Performance of pre-optimization done (n=13): time 2.514e-06/1.059, allocations: 0 / 1.535 GB, free: 13.15 MB / 1.264 GB Notification: Performance of matching and sorting (n=13): time 0.0009926/1.06, allocations: 353 kB / 1.536 GB, free: 12.8 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/1.06, allocations: 158.2 kB / 1.536 GB, free: 12.61 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.061, allocations: 1.171 MB / 1.537 GB, free: 11.43 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/1.062, allocations: 33.7 kB / 1.537 GB, free: 11.39 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/1.062, allocations: 0.5865 MB / 1.538 GB, free: 10.8 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/1.062, allocations: 55.56 kB / 1.538 GB, free: 10.74 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/1.062, allocations: 89.61 kB / 1.538 GB, free: 10.65 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/1.062, allocations: 318 kB / 1.538 GB, free: 10.33 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/1.062, allocations: 108.6 kB / 1.538 GB, free: 10.22 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/1.063, allocations: 379.6 kB / 1.538 GB, free: 9.715 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/1.063, allocations: 453.4 kB / 1.539 GB, free: 9.164 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.063, allocations: 384 / 1.539 GB, free: 9.164 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009917/1.064, allocations: 0.4968 MB / 1.539 GB, free: 8.66 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.064, allocations: 14.02 kB / 1.539 GB, free: 8.648 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.064, allocations: 8 kB / 1.539 GB, free: 8.641 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.065, allocations: 15.94 kB / 1.539 GB, free: 8.625 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/1.065, allocations: 83.83 kB / 1.54 GB, free: 8.543 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.065, allocations: 15.94 kB / 1.54 GB, free: 8.527 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/1.066, allocations: 52.23 kB / 1.54 GB, free: 8.477 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/1.066, allocations: 24 kB / 1.54 GB, free: 8.453 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004428/1.066, allocations: 308 kB / 1.54 GB, free: 8.148 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003564/1.067, allocations: 395.5 kB / 1.54 GB, free: 7.625 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005055/1.067, allocations: 429.5 kB / 1.541 GB, free: 7.098 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/1.067, allocations: 4 kB / 1.541 GB, free: 7.094 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0009361/1.068, allocations: 489.3 kB / 1.541 GB, free: 6.609 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.068, allocations: 12.03 kB / 1.541 GB, free: 6.598 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.068, allocations: 11.98 kB / 1.541 GB, free: 6.586 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/1.068, allocations: 12 kB / 1.541 GB, free: 6.574 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/1.068, allocations: 87.83 kB / 1.541 GB, free: 6.488 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.068, allocations: 15.92 kB / 1.541 GB, free: 6.473 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/1.069, allocations: 47.89 kB / 1.541 GB, free: 6.426 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.069, allocations: 24 kB / 1.541 GB, free: 6.402 MB / 1.264 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.0001445/1.069, allocations: 216.1 kB / 1.542 GB, free: 6.184 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/1.07, allocations: 115.2 kB / 1.542 GB, free: 6.07 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/1.07, allocations: 261.5 kB / 1.542 GB, free: 5.801 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/1.07, allocations: 0 / 1.542 GB, free: 5.801 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.07, allocations: 7.938 kB / 1.542 GB, free: 5.793 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.07, allocations: 3.984 kB / 1.542 GB, free: 5.789 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/1.072, allocations: 1.211 MB / 1.543 GB, free: 4.512 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.072, allocations: 3.938 kB / 1.543 GB, free: 4.508 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/1.072, allocations: 27.92 kB / 1.543 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.072, allocations: 0 / 1.543 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/1.072, allocations: 4.125 kB / 1.543 GB, free: 4.477 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.072, allocations: 4 kB / 1.543 GB, free: 4.473 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.072, allocations: 4 kB / 1.543 GB, free: 4.469 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/1.073, allocations: 330.5 kB / 1.543 GB, free: 4.117 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/1.073, allocations: 232.2 kB / 1.544 GB, free: 3.871 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/1.073, allocations: 8 kB / 1.544 GB, free: 3.863 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/1.074, allocations: 27.95 kB / 1.544 GB, free: 3.836 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/1.074, allocations: 11.98 kB / 1.544 GB, free: 3.824 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/1.074, allocations: 4 kB / 1.544 GB, free: 3.82 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001344/1.075, allocations: 0.8491 MB / 1.545 GB, free: 2.969 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.4e-07/1.075, allocations: 0 / 1.545 GB, free: 2.969 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002035/1.077, allocations: 0.706 MB / 1.545 GB, free: 2.262 MB / 1.264 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.002749/1.08, allocations: 1.268 MB / 1.547 GB, free: 0.957 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0008907/1.081, allocations: 402.7 kB / 1.547 GB, free: 0.5664 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.081, allocations: 0 / 1.547 GB, free: 0.5664 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/1.081, allocations: 75.83 kB / 1.547 GB, free: 0.4922 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.083, allocations: 0.4996 MB / 1.547 GB, free: 12 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.095, allocations: 7.291 MB / 1.555 GB, free: 8.355 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/1.096, allocations: 1.036 MB / 1.556 GB, free: 7.289 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008147/1.096, allocations: 216.5 kB / 1.556 GB, free: 7.074 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/1.097, allocations: 395.3 kB / 1.556 GB, free: 6.688 MB / 1.279 GB Notification: Performance of SimCode: time 8.62e-07/1.097, allocations: 0 / 1.556 GB, free: 6.688 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6412/1.738, allocations: 35.98 MB / 1.591 GB, free: 328 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.415/11.15, allocations: 8.469 kB / 1.591 GB, free: 328 MB / 1.279 GB (rm -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches