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: translateModel(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_aDisSup.m_flow|con.port_bDisRet.m_flow|con.port_aDisSup.p|con.port_bDisRet.p|con.port_bCon.p|con.port_aCon.p",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_aDisSup.m_flow|con.port_bDisRet.m_flow|con.port_aDisSup.p|con.port_bDisRet.p|con.port_bCon.p|con.port_aCon.p",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 105.3 kB / 16.4 MB, free: 6.02 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.001977/0.001977, allocations: 187.3 kB / 17.34 MB, free: 5.609 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.405/2.405, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 67.83 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8523/0.8539, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.2694/1.123, allocations: 265.6 MB / 1.427 GB, free: 9.289 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03458/1.158, allocations: 24.35 MB / 1.45 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/1.161, allocations: 91.44 kB / 1.451 GB, free: 0.793 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/1.164, allocations: 0.8701 MB / 1.451 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/1.174, allocations: 3.655 MB / 1.455 GB, free: 12.26 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/1.178, allocations: 1.253 MB / 1.456 GB, free: 11.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005057/1.183, allocations: 3.253 MB / 1.459 GB, free: 7.754 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/1.185, allocations: 1.157 MB / 1.46 GB, free: 6.562 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008526/1.194, allocations: 3.456 MB / 1.464 GB, free: 3.094 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/1.196, allocations: 0.9333 MB / 1.465 GB, free: 2.156 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003583/1.196, allocations: 84 kB / 1.465 GB, free: 2.074 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008018/1.204, allocations: 3.772 MB / 1.469 GB, free: 14.3 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005093/1.205, allocations: 258.9 kB / 1.469 GB, free: 14.04 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/1.206, allocations: 0.6412 MB / 1.469 GB, free: 13.4 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007284/1.213, allocations: 3.359 MB / 1.473 GB, free: 10.03 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.213, allocations: 3.984 kB / 1.473 GB, free: 10.03 MB / 1.201 GB Notification: Performance of FrontEnd: time 4.94e-06/1.213, allocations: 4 kB / 1.473 GB, free: 10.02 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.353e-05/1.214, allocations: 7.938 kB / 1.473 GB, free: 10.02 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.004136/1.218, allocations: 1.73 MB / 1.474 GB, free: 8.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.218, allocations: 8.922 kB / 1.474 GB, free: 8.223 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/1.22, allocations: 286.1 kB / 1.475 GB, free: 7.941 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/1.223, allocations: 1.178 MB / 1.476 GB, free: 6.707 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/1.223, allocations: 49.31 kB / 1.476 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.223, allocations: 64 kB / 1.476 GB, free: 6.598 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.224, allocations: 0.6761 MB / 1.477 GB, free: 5.859 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.224, allocations: 7.875 kB / 1.477 GB, free: 5.852 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/1.224, allocations: 28 kB / 1.477 GB, free: 5.824 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/1.224, allocations: 16 kB / 1.477 GB, free: 5.809 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/1.225, allocations: 416.9 kB / 1.477 GB, free: 5.402 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.005537/1.231, allocations: 5.362 MB / 1.482 GB, free: 15.5 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/1.231, allocations: 197 kB / 1.482 GB, free: 15.26 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/1.231, allocations: 116.3 kB / 1.483 GB, free: 15.13 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/1.231, allocations: 210.1 kB / 1.483 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.232, allocations: 34.56 kB / 1.483 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005528/1.232, allocations: 59.56 kB / 1.483 GB, free: 14.79 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 3.897e-06/1.232, allocations: 0 / 1.483 GB, free: 14.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0009986/1.233, allocations: 344.6 kB / 1.483 GB, free: 14.45 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/1.233, allocations: 158.2 kB / 1.483 GB, free: 14.25 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/1.235, allocations: 1.175 MB / 1.485 GB, free: 13.07 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/1.235, allocations: 29.7 kB / 1.485 GB, free: 13.04 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/1.236, allocations: 0.5777 MB / 1.485 GB, free: 12.45 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/1.236, allocations: 51.36 kB / 1.485 GB, free: 12.4 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/1.236, allocations: 93.28 kB / 1.485 GB, free: 12.3 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.236, allocations: 322 kB / 1.486 GB, free: 11.98 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.236, allocations: 88.8 kB / 1.486 GB, free: 11.89 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/1.237, allocations: 391.7 kB / 1.486 GB, free: 11.38 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/1.237, allocations: 445.5 kB / 1.486 GB, free: 10.83 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.237, allocations: 4 kB / 1.486 GB, free: 10.83 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001009/1.238, allocations: 0.4886 MB / 1.487 GB, free: 10.33 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.238, allocations: 11.94 kB / 1.487 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.238, allocations: 8 kB / 1.487 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.238, allocations: 8 kB / 1.487 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/1.239, allocations: 99.75 kB / 1.487 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.239, allocations: 11.94 kB / 1.487 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/1.239, allocations: 52.05 kB / 1.487 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/1.24, allocations: 24 kB / 1.487 GB, free: 10.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004577/1.24, allocations: 308 kB / 1.487 GB, free: 9.816 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003896/1.24, allocations: 379.4 kB / 1.488 GB, free: 9.305 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005474/1.241, allocations: 437.6 kB / 1.488 GB, free: 8.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-06/1.241, allocations: 3.938 kB / 1.488 GB, free: 8.766 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001001/1.242, allocations: 484.5 kB / 1.489 GB, free: 8.285 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.242, allocations: 12 kB / 1.489 GB, free: 8.273 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.242, allocations: 16.05 kB / 1.489 GB, free: 8.258 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/1.242, allocations: 8 kB / 1.489 GB, free: 8.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/1.242, allocations: 83.83 kB / 1.489 GB, free: 8.168 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.242, allocations: 19.92 kB / 1.489 GB, free: 8.148 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/1.243, allocations: 47.86 kB / 1.489 GB, free: 8.102 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/1.243, allocations: 31.94 kB / 1.489 GB, free: 8.07 MB / 1.217 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.0001597/1.243, allocations: 208.1 kB / 1.489 GB, free: 7.859 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/1.244, allocations: 118.7 kB / 1.489 GB, free: 7.742 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/1.244, allocations: 256.4 kB / 1.489 GB, free: 7.477 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.244, allocations: 4 kB / 1.489 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.244, allocations: 0 / 1.489 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.244, allocations: 7.938 kB / 1.489 GB, free: 7.465 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/1.246, allocations: 1.215 MB / 1.491 GB, free: 6.184 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.246, allocations: 0 / 1.491 GB, free: 6.184 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.246, allocations: 31.92 kB / 1.491 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.246, allocations: 4 kB / 1.491 GB, free: 6.148 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.246, allocations: 0 / 1.491 GB, free: 6.148 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.246, allocations: 4 kB / 1.491 GB, free: 6.145 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.246, allocations: 4.125 kB / 1.491 GB, free: 6.141 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/1.247, allocations: 321.9 kB / 1.491 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/1.247, allocations: 231.5 kB / 1.491 GB, free: 5.551 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/1.247, allocations: 4 kB / 1.491 GB, free: 5.547 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/1.248, allocations: 27.95 kB / 1.491 GB, free: 5.52 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/1.248, allocations: 11.98 kB / 1.491 GB, free: 5.508 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.248, allocations: 4 kB / 1.491 GB, free: 5.504 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001372/1.249, allocations: 0.8491 MB / 1.492 GB, free: 4.652 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.8e-07/1.249, allocations: 0 / 1.492 GB, free: 4.652 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001946/1.251, allocations: 0.7023 MB / 1.493 GB, free: 3.949 MB / 1.217 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.001918/1.253, allocations: 0.5156 MB / 1.493 GB, free: 3.438 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009504/1.254, allocations: 409.8 kB / 1.494 GB, free: 3.039 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.254, allocations: 1.875 kB / 1.494 GB, free: 3.039 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/1.254, allocations: 71.89 kB / 1.494 GB, free: 2.969 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.257, allocations: 493.2 kB / 1.494 GB, free: 2.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/1.259, allocations: 1.503 MB / 1.496 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/1.26, allocations: 1.04 MB / 1.497 GB, free: 15.88 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.26, allocations: 79.42 kB / 1.497 GB, free: 15.8 MB / 1.232 GB Notification: Performance of SimCode: time 7.62e-07/1.26, allocations: 0 / 1.497 GB, free: 15.8 MB / 1.232 GB Notification: Performance of Templates: time 0.03216/1.292, allocations: 21.78 MB / 1.518 GB, free: 10.16 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (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 & ./Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/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