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.007211/0.007211, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.00151/0.00151, allocations: 202.9 kB / 16.68 MB, free: 5.977 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.567/2.567, allocations: 437 MB / 0.7105 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2957, allocations: 151.6 MB / 1.167 GB, free: 6.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8821/1.178, allocations: 265.6 MB / 1.426 GB, free: 8.367 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03391/1.212, allocations: 24.34 MB / 1.45 GB, free: 2.402 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/1.215, allocations: 91.44 kB / 1.45 GB, free: 2.312 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/1.218, allocations: 0.866 MB / 1.451 GB, free: 1.441 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009288/1.227, allocations: 3.648 MB / 1.454 GB, free: 13.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003106/1.23, allocations: 1.257 MB / 1.455 GB, free: 12.55 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004581/1.235, allocations: 3.245 MB / 1.459 GB, free: 9.289 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/1.237, allocations: 1.173 MB / 1.46 GB, free: 8.09 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008298/1.245, allocations: 3.459 MB / 1.463 GB, free: 4.617 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/1.247, allocations: 0.9256 MB / 1.464 GB, free: 3.688 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004146/1.247, allocations: 91.98 kB / 1.464 GB, free: 3.598 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007604/1.255, allocations: 3.761 MB / 1.468 GB, free: 15.83 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/1.255, allocations: 262.8 kB / 1.468 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/1.257, allocations: 0.6412 MB / 1.469 GB, free: 14.93 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006667/1.263, allocations: 3.38 MB / 1.472 GB, free: 11.54 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.263, allocations: 0 / 1.472 GB, free: 11.54 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.924e-06/1.263, allocations: 0 / 1.472 GB, free: 11.54 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.611e-05/1.263, allocations: 0 / 1.472 GB, free: 11.54 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.003769/1.267, allocations: 1.784 MB / 1.474 GB, free: 9.695 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.267, allocations: 12.03 kB / 1.474 GB, free: 9.684 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/1.269, allocations: 302.8 kB / 1.474 GB, free: 9.387 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/1.272, allocations: 1.195 MB / 1.475 GB, free: 8.137 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/1.272, allocations: 49.31 kB / 1.475 GB, free: 8.09 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/1.272, allocations: 60 kB / 1.475 GB, free: 8.031 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.273, allocations: 0.68 MB / 1.476 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.273, allocations: 0 / 1.476 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/1.273, allocations: 27.94 kB / 1.476 GB, free: 7.262 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.273, allocations: 12 kB / 1.476 GB, free: 7.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/1.274, allocations: 424.8 kB / 1.476 GB, free: 6.836 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.005009/1.279, allocations: 5.36 MB / 1.482 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/1.279, allocations: 205 kB / 1.482 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/1.28, allocations: 112.2 kB / 1.482 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/1.28, allocations: 206.2 kB / 1.482 GB, free: 336 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.28, allocations: 42.5 kB / 1.482 GB, free: 284 kB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005092/1.28, allocations: 51.75 kB / 1.482 GB, free: 232 kB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/1.28, allocations: 0 / 1.482 GB, free: 232 kB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0009806/1.281, allocations: 345.2 kB / 1.483 GB, free: 15.88 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.282, allocations: 166.2 kB / 1.483 GB, free: 15.68 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.283, allocations: 1.175 MB / 1.484 GB, free: 14.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/1.283, allocations: 33.7 kB / 1.484 GB, free: 14.46 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/1.284, allocations: 0.5825 MB / 1.485 GB, free: 13.88 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/1.284, allocations: 47.64 kB / 1.485 GB, free: 13.83 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.284, allocations: 93.59 kB / 1.485 GB, free: 13.73 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.284, allocations: 329.9 kB / 1.485 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/1.284, allocations: 92.8 kB / 1.485 GB, free: 13.31 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/1.285, allocations: 387.8 kB / 1.485 GB, free: 12.79 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/1.285, allocations: 449.5 kB / 1.486 GB, free: 12.25 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.285, allocations: 0 / 1.486 GB, free: 12.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009538/1.286, allocations: 0.493 MB / 1.486 GB, free: 11.75 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.286, allocations: 16.12 kB / 1.486 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.286, allocations: 8 kB / 1.486 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.286, allocations: 12 kB / 1.486 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/1.287, allocations: 87.83 kB / 1.486 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.287, allocations: 15.98 kB / 1.486 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/1.287, allocations: 47.89 kB / 1.487 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/1.287, allocations: 24 kB / 1.487 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004435/1.288, allocations: 315.8 kB / 1.487 GB, free: 11.23 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003678/1.288, allocations: 379.6 kB / 1.487 GB, free: 10.71 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005433/1.289, allocations: 433.5 kB / 1.488 GB, free: 10.18 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/1.289, allocations: 8 kB / 1.488 GB, free: 10.18 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0009142/1.29, allocations: 496.3 kB / 1.488 GB, free: 9.684 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.29, allocations: 8 kB / 1.488 GB, free: 9.676 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.29, allocations: 8.75 kB / 1.488 GB, free: 9.668 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.29, allocations: 12 kB / 1.488 GB, free: 9.656 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/1.29, allocations: 87.83 kB / 1.488 GB, free: 9.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.29, allocations: 11.94 kB / 1.488 GB, free: 9.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/1.291, allocations: 51.94 kB / 1.488 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/1.291, allocations: 24 kB / 1.488 GB, free: 9.484 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.0001412/1.291, allocations: 216 kB / 1.488 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/1.291, allocations: 115.2 kB / 1.489 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005517/1.292, allocations: 261.4 kB / 1.489 GB, free: 8.887 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.292, allocations: 0 / 1.489 GB, free: 8.887 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.292, allocations: 4 kB / 1.489 GB, free: 8.883 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.292, allocations: 3.938 kB / 1.489 GB, free: 8.879 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/1.293, allocations: 1.219 MB / 1.49 GB, free: 7.594 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.293, allocations: 0 / 1.49 GB, free: 7.594 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/1.294, allocations: 35.92 kB / 1.49 GB, free: 7.559 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.294, allocations: 3.938 kB / 1.49 GB, free: 7.555 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.294, allocations: 4 kB / 1.49 GB, free: 7.551 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.294, allocations: 240 / 1.49 GB, free: 7.551 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.294, allocations: 4 kB / 1.49 GB, free: 7.547 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/1.294, allocations: 330.6 kB / 1.49 GB, free: 7.195 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/1.295, allocations: 232.2 kB / 1.491 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/1.295, allocations: 4 kB / 1.491 GB, free: 6.945 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/1.295, allocations: 31.95 kB / 1.491 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/1.295, allocations: 8 kB / 1.491 GB, free: 6.906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/1.295, allocations: 4 kB / 1.491 GB, free: 6.902 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001347/1.297, allocations: 0.8491 MB / 1.492 GB, free: 6.051 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.297, allocations: 4 kB / 1.492 GB, free: 6.047 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001882/1.299, allocations: 0.7098 MB / 1.492 GB, free: 5.336 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.001937/1.301, allocations: 0.5049 MB / 1.493 GB, free: 4.836 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008615/1.301, allocations: 402.1 kB / 1.493 GB, free: 4.445 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.301, allocations: 0 / 1.493 GB, free: 4.445 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.302, allocations: 77.33 kB / 1.493 GB, free: 4.371 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.304, allocations: 0.4935 MB / 1.494 GB, free: 3.891 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/1.306, allocations: 1.495 MB / 1.495 GB, free: 2.348 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/1.307, allocations: 1.036 MB / 1.496 GB, free: 1.281 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007283/1.307, allocations: 219.7 kB / 1.496 GB, free: 1.07 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/1.307, allocations: 83.41 kB / 1.496 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of SimCode: time 6.21e-07/1.307, allocations: 0 / 1.496 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of Templates: time 0.04032/1.348, allocations: 25.79 MB / 1.522 GB, free: 7.441 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