Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_10_Buildings_Experimental_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.01087/0.01087, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.002721/0.002721, allocations: 190.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.514/2.514, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.677/4.677, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 63.89 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.6253, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.724/2.349, allocations: 265.6 MB / 1.426 GB, free: 8.488 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.06432/2.413, allocations: 24.33 MB / 1.449 GB, free: 2.727 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005951/2.419, allocations: 91.44 kB / 1.449 GB, free: 2.637 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005048/2.425, allocations: 0.8465 MB / 1.45 GB, free: 1.785 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01905/2.444, allocations: 3.526 MB / 1.454 GB, free: 14.26 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005849/2.45, allocations: 1.259 MB / 1.455 GB, free: 13.01 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008631/2.458, allocations: 3.238 MB / 1.458 GB, free: 9.762 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/2.462, allocations: 1.175 MB / 1.459 GB, free: 8.555 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/2.477, allocations: 3.338 MB / 1.462 GB, free: 5.203 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/2.48, allocations: 0.9295 MB / 1.463 GB, free: 4.27 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003726/2.48, allocations: 84 kB / 1.463 GB, free: 4.188 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/2.494, allocations: 3.767 MB / 1.467 GB, free: 428 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008313/2.495, allocations: 258.9 kB / 1.467 GB, free: 168 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/2.497, allocations: 0.6451 MB / 1.468 GB, free: 15.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/2.51, allocations: 3.387 MB / 1.471 GB, free: 12.12 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/2.51, allocations: 0 / 1.471 GB, free: 12.12 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.685e-06/2.51, allocations: 0 / 1.471 GB, free: 12.12 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.903e-05/2.51, allocations: 0 / 1.471 GB, free: 12.12 MB / 1.139 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.005931/2.516, allocations: 1.784 MB / 1.473 GB, free: 10.28 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/2.516, allocations: 12.03 kB / 1.473 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/2.516, allocations: 102.5 kB / 1.473 GB, free: 10.16 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/2.52, allocations: 302.8 kB / 1.473 GB, free: 9.859 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/2.524, allocations: 1.187 MB / 1.475 GB, free: 8.617 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/2.524, allocations: 49.31 kB / 1.475 GB, free: 8.57 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/2.524, allocations: 64 kB / 1.475 GB, free: 8.508 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/2.526, allocations: 0.6683 MB / 1.475 GB, free: 7.777 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/2.526, allocations: 3.938 kB / 1.475 GB, free: 7.773 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/2.526, allocations: 28 kB / 1.475 GB, free: 7.746 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/2.526, allocations: 16 kB / 1.475 GB, free: 7.73 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/2.528, allocations: 420.8 kB / 1.476 GB, free: 7.32 MB / 1.139 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.009148/2.537, allocations: 5.364 MB / 1.481 GB, free: 1.418 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/2.538, allocations: 209 kB / 1.481 GB, free: 1.168 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/2.538, allocations: 120.2 kB / 1.481 GB, free: 1.035 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/2.538, allocations: 198.2 kB / 1.482 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/2.539, allocations: 42.5 kB / 1.482 GB, free: 0.7539 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008991/2.539, allocations: 59.73 kB / 1.482 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 4.979e-06/2.539, allocations: 0 / 1.482 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.001565/2.541, allocations: 353.1 kB / 1.482 GB, free: 352 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/2.541, allocations: 158.2 kB / 1.482 GB, free: 156 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/2.544, allocations: 1.175 MB / 1.483 GB, free: 14.97 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/2.544, allocations: 33.7 kB / 1.483 GB, free: 14.93 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008007/2.545, allocations: 0.5786 MB / 1.484 GB, free: 14.35 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/2.545, allocations: 55.61 kB / 1.484 GB, free: 14.29 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/2.545, allocations: 97.98 kB / 1.484 GB, free: 14.19 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000218/2.546, allocations: 322 kB / 1.484 GB, free: 13.87 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/2.546, allocations: 92.8 kB / 1.484 GB, free: 13.78 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/2.547, allocations: 387 kB / 1.485 GB, free: 13.27 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/2.548, allocations: 449.4 kB / 1.485 GB, free: 12.72 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/2.548, allocations: 4 kB / 1.485 GB, free: 12.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001792/2.55, allocations: 0.4932 MB / 1.486 GB, free: 12.21 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/2.55, allocations: 8 kB / 1.486 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/2.55, allocations: 8 kB / 1.486 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/2.55, allocations: 8 kB / 1.486 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/2.55, allocations: 91.83 kB / 1.486 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/2.55, allocations: 8 kB / 1.486 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/2.552, allocations: 43.89 kB / 1.486 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/2.552, allocations: 32.06 kB / 1.486 GB, free: 12.02 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009066/2.553, allocations: 315.8 kB / 1.486 GB, free: 11.71 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006705/2.553, allocations: 379.6 kB / 1.487 GB, free: 11.2 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009449/2.554, allocations: 434.8 kB / 1.487 GB, free: 10.66 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/2.554, allocations: 0 / 1.487 GB, free: 10.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001656/2.556, allocations: 496.3 kB / 1.487 GB, free: 10.17 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/2.556, allocations: 12.91 kB / 1.487 GB, free: 10.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/2.556, allocations: 15.97 kB / 1.488 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/2.556, allocations: 12 kB / 1.488 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/2.557, allocations: 83.84 kB / 1.488 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/2.557, allocations: 19.92 kB / 1.488 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/2.558, allocations: 47.95 kB / 1.488 GB, free: 9.984 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/2.558, allocations: 27.88 kB / 1.488 GB, free: 9.957 MB / 1.154 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.0002789/2.558, allocations: 212 kB / 1.488 GB, free: 9.742 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/2.559, allocations: 127.2 kB / 1.488 GB, free: 9.617 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009918/2.56, allocations: 241.6 kB / 1.488 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/2.56, allocations: 7.984 kB / 1.488 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/2.56, allocations: 0 / 1.488 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/2.56, allocations: 7.938 kB / 1.488 GB, free: 9.352 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/2.563, allocations: 1.211 MB / 1.489 GB, free: 8.074 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/2.563, allocations: 0 / 1.489 GB, free: 8.074 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/2.563, allocations: 31.86 kB / 1.489 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/2.563, allocations: 4 kB / 1.489 GB, free: 8.039 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/2.563, allocations: 8 kB / 1.489 GB, free: 8.031 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/2.563, allocations: 7.984 kB / 1.489 GB, free: 8.023 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.563, allocations: 0 / 1.489 GB, free: 8.023 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/2.564, allocations: 318.7 kB / 1.49 GB, free: 7.684 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/2.565, allocations: 240.1 kB / 1.49 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/2.565, allocations: 4 kB / 1.49 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/2.566, allocations: 27.97 kB / 1.49 GB, free: 7.398 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/2.566, allocations: 7.984 kB / 1.49 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/2.566, allocations: 4 kB / 1.49 GB, free: 7.387 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002307/2.568, allocations: 0.8491 MB / 1.491 GB, free: 6.535 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.2e-07/2.568, allocations: 3.938 kB / 1.491 GB, free: 6.531 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003505/2.572, allocations: 0.7137 MB / 1.492 GB, free: 5.816 MB / 1.154 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.004607/2.576, allocations: 1.273 MB / 1.493 GB, free: 4.516 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001462/2.578, allocations: 414 kB / 1.493 GB, free: 4.113 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/2.578, allocations: 0 / 1.493 GB, free: 4.113 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/2.578, allocations: 65.34 kB / 1.493 GB, free: 4.051 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/2.582, allocations: 0.5014 MB / 1.494 GB, free: 3.566 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/2.604, allocations: 7.276 MB / 1.501 GB, free: 11.93 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/2.605, allocations: 1.04 MB / 1.502 GB, free: 10.86 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001497/2.607, allocations: 215.8 kB / 1.502 GB, free: 10.64 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008703/2.607, allocations: 399.3 kB / 1.502 GB, free: 10.25 MB / 1.17 GB Notification: Performance of SimCode: time 1.172e-06/2.607, allocations: 0 / 1.502 GB, free: 10.25 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/2.734, allocations: 36.14 MB / 1.538 GB, free: 6.535 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/16.76, allocations: 7.422 kB / 1.538 GB, free: 6.531 MB / 1.201 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.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_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches