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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.008401/0.008401, allocations: 97.69 kB / 15.73 MB, free: 6 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.002209/0.002209, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 59.91 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2784, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8236/1.102, allocations: 265.6 MB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0337/1.136, allocations: 24.32 MB / 1.525 GB, free: 5.586 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/1.138, allocations: 91.44 kB / 1.525 GB, free: 5.496 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/1.14, allocations: 0.8465 MB / 1.526 GB, free: 4.645 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008163/1.148, allocations: 3.515 MB / 1.529 GB, free: 1.129 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/1.151, allocations: 1.259 MB / 1.53 GB, free: 15.89 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003814/1.155, allocations: 3.219 MB / 1.533 GB, free: 12.65 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/1.156, allocations: 1.168 MB / 1.534 GB, free: 11.46 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008144/1.164, allocations: 3.824 MB / 1.538 GB, free: 7.617 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/1.166, allocations: 0.9061 MB / 1.539 GB, free: 6.707 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/1.166, allocations: 84 kB / 1.539 GB, free: 6.625 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007334/1.173, allocations: 3.774 MB / 1.543 GB, free: 2.848 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/1.174, allocations: 254.9 kB / 1.543 GB, free: 2.598 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000813/1.175, allocations: 0.649 MB / 1.544 GB, free: 1.945 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005349/1.18, allocations: 3.338 MB / 1.547 GB, free: 14.59 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.18, allocations: 3.938 kB / 1.547 GB, free: 14.59 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.373e-06/1.18, allocations: 0 / 1.547 GB, free: 14.59 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.004e-05/1.18, allocations: 4 kB / 1.547 GB, free: 14.59 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.003119/1.183, allocations: 1.788 MB / 1.549 GB, free: 12.74 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.183, allocations: 12.03 kB / 1.549 GB, free: 12.73 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/1.183, allocations: 102.5 kB / 1.549 GB, free: 12.62 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/1.185, allocations: 298.8 kB / 1.549 GB, free: 12.32 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/1.187, allocations: 1.184 MB / 1.55 GB, free: 11.09 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/1.188, allocations: 49.31 kB / 1.55 GB, free: 11.04 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/1.188, allocations: 60 kB / 1.55 GB, free: 10.98 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.189, allocations: 0.6759 MB / 1.551 GB, free: 10.25 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/1.189, allocations: 3.938 kB / 1.551 GB, free: 10.24 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/1.189, allocations: 31.98 kB / 1.551 GB, free: 10.21 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.189, allocations: 16 kB / 1.551 GB, free: 10.2 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/1.19, allocations: 420.8 kB / 1.552 GB, free: 9.785 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.005221/1.195, allocations: 5.363 MB / 1.557 GB, free: 3.883 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/1.195, allocations: 205 kB / 1.557 GB, free: 3.637 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/1.196, allocations: 116.2 kB / 1.557 GB, free: 3.508 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/1.196, allocations: 194.2 kB / 1.557 GB, free: 3.281 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.196, allocations: 50.48 kB / 1.557 GB, free: 3.223 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004381/1.196, allocations: 47.77 kB / 1.557 GB, free: 3.176 MB / 1.248 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/1.196, allocations: 0 / 1.557 GB, free: 3.176 MB / 1.248 GB Notification: Performance of matching and sorting (n=13): time 0.0009539/1.197, allocations: 353.1 kB / 1.558 GB, free: 2.824 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/1.198, allocations: 162.2 kB / 1.558 GB, free: 2.629 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.199, allocations: 1.179 MB / 1.559 GB, free: 1.441 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/1.199, allocations: 25.7 kB / 1.559 GB, free: 1.41 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/1.2, allocations: 0.5903 MB / 1.56 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/1.2, allocations: 55.61 kB / 1.56 GB, free: 0.7617 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.2, allocations: 89.59 kB / 1.56 GB, free: 0.668 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.2, allocations: 322 kB / 1.56 GB, free: 356 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/1.2, allocations: 96.73 kB / 1.56 GB, free: 256 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/1.201, allocations: 383.8 kB / 1.56 GB, free: 15.74 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/1.202, allocations: 445.5 kB / 1.561 GB, free: 15.2 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.202, allocations: 4 kB / 1.561 GB, free: 15.19 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001006/1.203, allocations: 0.4892 MB / 1.561 GB, free: 14.7 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.203, allocations: 15.94 kB / 1.561 GB, free: 14.68 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.203, allocations: 8 kB / 1.561 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.203, allocations: 8 kB / 1.561 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/1.203, allocations: 87.83 kB / 1.561 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.203, allocations: 15.94 kB / 1.562 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/1.204, allocations: 56.08 kB / 1.562 GB, free: 14.51 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/1.204, allocations: 23.98 kB / 1.562 GB, free: 14.48 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000501/1.204, allocations: 308.1 kB / 1.562 GB, free: 14.18 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004469/1.205, allocations: 384.1 kB / 1.562 GB, free: 13.66 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006122/1.205, allocations: 434.9 kB / 1.563 GB, free: 13.13 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/1.205, allocations: 4 kB / 1.563 GB, free: 13.13 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001002/1.206, allocations: 0.4892 MB / 1.563 GB, free: 12.63 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.206, allocations: 10.81 kB / 1.563 GB, free: 12.62 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.206, allocations: 12.09 kB / 1.563 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.206, allocations: 12 kB / 1.563 GB, free: 12.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/1.207, allocations: 83.83 kB / 1.563 GB, free: 12.52 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.207, allocations: 8.156 kB / 1.563 GB, free: 12.51 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/1.208, allocations: 51.89 kB / 1.563 GB, free: 12.46 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/1.208, allocations: 31.92 kB / 1.563 GB, free: 12.43 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.0001582/1.208, allocations: 212.1 kB / 1.564 GB, free: 12.21 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/1.208, allocations: 115.2 kB / 1.564 GB, free: 12.1 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005909/1.209, allocations: 261.5 kB / 1.564 GB, free: 11.83 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.209, allocations: 4 kB / 1.564 GB, free: 11.82 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.209, allocations: 0 / 1.564 GB, free: 11.82 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.209, allocations: 3.938 kB / 1.564 GB, free: 11.82 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/1.21, allocations: 1.219 MB / 1.565 GB, free: 10.54 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.21, allocations: 0 / 1.565 GB, free: 10.54 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/1.21, allocations: 27.92 kB / 1.565 GB, free: 10.51 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.21, allocations: 4 kB / 1.565 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/1.21, allocations: 7.938 kB / 1.565 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/1.21, allocations: 11.92 kB / 1.565 GB, free: 10.48 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.21, allocations: 4.125 kB / 1.565 GB, free: 10.48 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/1.211, allocations: 310.7 kB / 1.565 GB, free: 10.15 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/1.211, allocations: 236.2 kB / 1.566 GB, free: 9.898 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.211, allocations: 7.938 kB / 1.566 GB, free: 9.891 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/1.212, allocations: 23.97 kB / 1.566 GB, free: 9.867 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/1.212, allocations: 11.98 kB / 1.566 GB, free: 9.855 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/1.212, allocations: 4 kB / 1.566 GB, free: 9.852 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001365/1.213, allocations: 0.8491 MB / 1.567 GB, free: 9 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.31e-07/1.213, allocations: 0 / 1.567 GB, free: 9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0018/1.215, allocations: 0.7098 MB / 1.567 GB, free: 8.289 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.002568/1.218, allocations: 1.267 MB / 1.568 GB, free: 6.988 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0008898/1.219, allocations: 411.2 kB / 1.569 GB, free: 6.59 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.219, allocations: 0 / 1.569 GB, free: 6.59 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/1.219, allocations: 63.91 kB / 1.569 GB, free: 6.527 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.221, allocations: 0.4999 MB / 1.569 GB, free: 6.043 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.232, allocations: 7.283 MB / 1.577 GB, free: 14.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/1.233, allocations: 1.036 MB / 1.578 GB, free: 13.33 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007757/1.234, allocations: 216.5 kB / 1.578 GB, free: 13.12 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/1.234, allocations: 403.3 kB / 1.578 GB, free: 12.72 MB / 1.279 GB Notification: Performance of SimCode: time 6.81e-07/1.234, allocations: 0 / 1.578 GB, free: 12.72 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07088/1.305, allocations: 35.99 MB / 1.613 GB, free: 9.109 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.885/11.19, allocations: 15.73 kB / 1.613 GB, free: 9.094 MB / 1.311 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 400 --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