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.007598/0.007598, allocations: 98.2 kB / 15.73 MB, free: 6.445 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.001759/0.001759, allocations: 193.8 kB / 16.67 MB, free: 6.348 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 2.544/2.544, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.266, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.83/1.096, allocations: 265.6 MB / 1.426 GB, free: 8.273 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03429/1.13, allocations: 24.33 MB / 1.45 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003334/1.134, allocations: 91.44 kB / 1.45 GB, free: 2.238 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/1.136, allocations: 0.8503 MB / 1.451 GB, free: 1.383 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009919/1.146, allocations: 3.527 MB / 1.454 GB, free: 13.86 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/1.15, allocations: 1.254 MB / 1.455 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004937/1.155, allocations: 3.245 MB / 1.459 GB, free: 9.355 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/1.157, allocations: 1.17 MB / 1.46 GB, free: 8.156 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008579/1.165, allocations: 3.342 MB / 1.463 GB, free: 4.801 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/1.167, allocations: 0.9333 MB / 1.464 GB, free: 3.863 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003416/1.168, allocations: 92 kB / 1.464 GB, free: 3.773 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008338/1.176, allocations: 3.764 MB / 1.468 GB, free: 4 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005514/1.177, allocations: 258.9 kB / 1.468 GB, free: 15.75 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/1.178, allocations: 0.6451 MB / 1.468 GB, free: 15.1 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007448/1.185, allocations: 3.373 MB / 1.472 GB, free: 11.72 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.185, allocations: 0 / 1.472 GB, free: 11.72 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.214e-06/1.185, allocations: 4 kB / 1.472 GB, free: 11.71 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.428e-05/1.185, allocations: 0 / 1.472 GB, free: 11.71 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.003749/1.189, allocations: 1.796 MB / 1.474 GB, free: 9.859 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.189, allocations: 8.031 kB / 1.474 GB, free: 9.852 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/1.191, allocations: 298.8 kB / 1.474 GB, free: 9.559 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.194, allocations: 1.184 MB / 1.475 GB, free: 8.32 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/1.194, allocations: 49.31 kB / 1.475 GB, free: 8.273 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/1.194, allocations: 60 kB / 1.475 GB, free: 8.215 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.195, allocations: 0.6784 MB / 1.476 GB, free: 7.477 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.195, allocations: 0 / 1.476 GB, free: 7.477 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/1.195, allocations: 31.94 kB / 1.476 GB, free: 7.445 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/1.195, allocations: 12 kB / 1.476 GB, free: 7.434 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000868/1.196, allocations: 424.8 kB / 1.476 GB, free: 7.02 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.005203/1.201, allocations: 5.364 MB / 1.481 GB, free: 1.117 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/1.202, allocations: 201 kB / 1.482 GB, free: 0.875 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/1.202, allocations: 116.2 kB / 1.482 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/1.202, allocations: 202.2 kB / 1.482 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.202, allocations: 42.5 kB / 1.482 GB, free: 472 kB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005038/1.203, allocations: 47.77 kB / 1.482 GB, free: 424 kB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 4.138e-06/1.203, allocations: 3.984 kB / 1.482 GB, free: 420 kB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0009724/1.204, allocations: 357 kB / 1.482 GB, free: 56 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/1.204, allocations: 158.2 kB / 1.483 GB, free: 15.86 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/1.206, allocations: 1.179 MB / 1.484 GB, free: 14.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.206, allocations: 25.7 kB / 1.484 GB, free: 14.64 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/1.206, allocations: 0.5864 MB / 1.484 GB, free: 14.05 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/1.206, allocations: 51.7 kB / 1.484 GB, free: 14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/1.206, allocations: 93.97 kB / 1.484 GB, free: 13.91 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.206, allocations: 325.9 kB / 1.485 GB, free: 13.58 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/1.207, allocations: 96.73 kB / 1.485 GB, free: 13.48 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/1.207, allocations: 387.4 kB / 1.485 GB, free: 12.97 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/1.208, allocations: 445.4 kB / 1.486 GB, free: 12.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.208, allocations: 4 kB / 1.486 GB, free: 12.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001007/1.209, allocations: 0.5009 MB / 1.486 GB, free: 11.91 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.209, allocations: 8 kB / 1.486 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.209, allocations: 8 kB / 1.486 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.209, allocations: 8 kB / 1.486 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/1.209, allocations: 87.83 kB / 1.486 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/1.209, allocations: 15.98 kB / 1.486 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/1.21, allocations: 52.06 kB / 1.486 GB, free: 11.74 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/1.21, allocations: 23.98 kB / 1.486 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004685/1.21, allocations: 315.8 kB / 1.487 GB, free: 11.4 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003928/1.211, allocations: 371.6 kB / 1.487 GB, free: 10.9 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005523/1.211, allocations: 438.4 kB / 1.487 GB, free: 10.36 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/1.211, allocations: 4 kB / 1.487 GB, free: 10.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0009609/1.212, allocations: 497.7 kB / 1.488 GB, free: 9.867 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.212, allocations: 8 kB / 1.488 GB, free: 9.859 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.212, allocations: 12.12 kB / 1.488 GB, free: 9.848 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.212, allocations: 12 kB / 1.488 GB, free: 9.836 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/1.213, allocations: 83.83 kB / 1.488 GB, free: 9.754 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.213, allocations: 12.09 kB / 1.488 GB, free: 9.742 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/1.214, allocations: 47.95 kB / 1.488 GB, free: 9.695 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/1.214, allocations: 31.97 kB / 1.488 GB, free: 9.664 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.0001398/1.214, allocations: 216 kB / 1.488 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/1.214, allocations: 119.2 kB / 1.488 GB, free: 9.328 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/1.215, allocations: 257 kB / 1.489 GB, free: 9.066 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.215, allocations: 4 kB / 1.489 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.215, allocations: 0 / 1.489 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.215, allocations: 3.938 kB / 1.489 GB, free: 9.059 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/1.216, allocations: 1.211 MB / 1.49 GB, free: 7.781 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.216, allocations: 0 / 1.49 GB, free: 7.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/1.216, allocations: 35.91 kB / 1.49 GB, free: 7.746 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-06/1.216, allocations: 7.938 kB / 1.49 GB, free: 7.738 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.216, allocations: 0 / 1.49 GB, free: 7.738 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/1.216, allocations: 7.938 kB / 1.49 GB, free: 7.73 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.216, allocations: 4.125 kB / 1.49 GB, free: 7.727 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/1.217, allocations: 318.6 kB / 1.49 GB, free: 7.387 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/1.217, allocations: 236.2 kB / 1.49 GB, free: 7.137 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.217, allocations: 4 kB / 1.49 GB, free: 7.133 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/1.218, allocations: 23.97 kB / 1.49 GB, free: 7.109 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/1.218, allocations: 11.98 kB / 1.49 GB, free: 7.098 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/1.218, allocations: 8 kB / 1.49 GB, free: 7.09 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001348/1.219, allocations: 0.853 MB / 1.491 GB, free: 6.234 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.91e-07/1.219, allocations: 3.938 kB / 1.491 GB, free: 6.23 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001764/1.221, allocations: 0.7098 MB / 1.492 GB, free: 5.52 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.00181/1.223, allocations: 0.5116 MB / 1.492 GB, free: 5.012 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000863/1.224, allocations: 407.2 kB / 1.493 GB, free: 4.617 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.224, allocations: 0 / 1.493 GB, free: 4.617 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/1.224, allocations: 68.33 kB / 1.493 GB, free: 4.551 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.226, allocations: 0.4929 MB / 1.493 GB, free: 4.07 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/1.228, allocations: 1.491 MB / 1.495 GB, free: 2.531 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/1.229, allocations: 1.04 MB / 1.496 GB, free: 1.461 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007966/1.23, allocations: 212 kB / 1.496 GB, free: 1.258 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/1.23, allocations: 79.41 kB / 1.496 GB, free: 1.18 MB / 1.154 GB Notification: Performance of SimCode: time 5.11e-07/1.23, allocations: 0 / 1.496 GB, free: 1.18 MB / 1.154 GB Notification: Performance of Templates: time 0.04112/1.271, allocations: 25.8 MB / 1.521 GB, free: 7.629 MB / 1.186 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/jenkins/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