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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.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_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.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_latest_Buildings.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.008067/0.008067, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.0019/0.001899, allocations: 198.5 kB / 16.68 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.964/2.964, allocations: 461.8 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 68.12 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3842, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.232/1.616, allocations: 265.5 MB / 1.467 GB, free: 12.96 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04241/1.658, allocations: 24.31 MB / 1.491 GB, free: 4.605 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00581/1.664, allocations: 91.44 kB / 1.491 GB, free: 4.516 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003585/1.668, allocations: 0.8621 MB / 1.492 GB, free: 3.648 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01646/1.684, allocations: 3.652 MB / 1.495 GB, free: 15.99 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005162/1.69, allocations: 1.262 MB / 1.496 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007889/1.698, allocations: 3.238 MB / 1.5 GB, free: 11.5 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/1.7, allocations: 1.175 MB / 1.501 GB, free: 10.29 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01237/1.712, allocations: 3.449 MB / 1.504 GB, free: 6.832 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/1.715, allocations: 0.9295 MB / 1.505 GB, free: 5.898 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004868/1.716, allocations: 88 kB / 1.505 GB, free: 5.812 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/1.727, allocations: 3.765 MB / 1.509 GB, free: 2.043 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006647/1.727, allocations: 266.9 kB / 1.509 GB, free: 1.781 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/1.729, allocations: 0.6373 MB / 1.51 GB, free: 1.141 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/1.74, allocations: 3.327 MB / 1.513 GB, free: 13.8 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.74, allocations: 0 / 1.513 GB, free: 13.8 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.855e-06/1.74, allocations: 0 / 1.513 GB, free: 13.8 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.408e-05/1.74, allocations: 3.938 kB / 1.513 GB, free: 13.8 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.00527/1.745, allocations: 1.736 MB / 1.515 GB, free: 12.01 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/1.745, allocations: 8.625 kB / 1.515 GB, free: 12 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/1.747, allocations: 298.1 kB / 1.515 GB, free: 11.71 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/1.75, allocations: 1.175 MB / 1.516 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/1.75, allocations: 49.31 kB / 1.516 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/1.75, allocations: 56 kB / 1.516 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.751, allocations: 0.68 MB / 1.517 GB, free: 9.633 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/1.751, allocations: 3.938 kB / 1.517 GB, free: 9.629 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/1.751, allocations: 27.94 kB / 1.517 GB, free: 9.602 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/1.751, allocations: 19.98 kB / 1.517 GB, free: 9.582 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/1.752, allocations: 424.9 kB / 1.517 GB, free: 9.168 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.005728/1.758, allocations: 5.348 MB / 1.523 GB, free: 3.281 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/1.758, allocations: 205 kB / 1.523 GB, free: 3.035 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/1.758, allocations: 116.3 kB / 1.523 GB, free: 2.906 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003814/1.759, allocations: 206.1 kB / 1.523 GB, free: 2.668 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.759, allocations: 38.56 kB / 1.523 GB, free: 2.621 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005296/1.759, allocations: 63.55 kB / 1.523 GB, free: 2.559 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/1.759, allocations: 0 / 1.523 GB, free: 2.559 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.001006/1.76, allocations: 336.1 kB / 1.523 GB, free: 2.223 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.76, allocations: 166.7 kB / 1.524 GB, free: 2.023 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/1.762, allocations: 1.171 MB / 1.525 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/1.762, allocations: 29.7 kB / 1.525 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/1.763, allocations: 0.5661 MB / 1.525 GB, free: 244 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/1.763, allocations: 51.3 kB / 1.525 GB, free: 192 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.763, allocations: 93.5 kB / 1.525 GB, free: 92 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.763, allocations: 333.8 kB / 1.526 GB, free: 15.76 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/1.763, allocations: 100.6 kB / 1.526 GB, free: 15.66 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/1.764, allocations: 387.5 kB / 1.526 GB, free: 15.14 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/1.764, allocations: 443.1 kB / 1.527 GB, free: 14.6 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.764, allocations: 4 kB / 1.527 GB, free: 14.6 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009319/1.765, allocations: 492.7 kB / 1.527 GB, free: 14.11 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/1.765, allocations: 12.19 kB / 1.527 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.766, allocations: 11.98 kB / 1.527 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.359e-05/1.766, allocations: 12 kB / 1.527 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/1.766, allocations: 87.77 kB / 1.527 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/1.766, allocations: 15.94 kB / 1.527 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/1.767, allocations: 47.89 kB / 1.527 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/1.767, allocations: 24 kB / 1.527 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005158/1.767, allocations: 312 kB / 1.528 GB, free: 13.59 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004373/1.768, allocations: 387.9 kB / 1.528 GB, free: 13.07 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005814/1.768, allocations: 430.7 kB / 1.528 GB, free: 12.55 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/1.768, allocations: 11.94 kB / 1.528 GB, free: 12.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008716/1.769, allocations: 485.2 kB / 1.529 GB, free: 12.05 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.769, allocations: 8 kB / 1.529 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.769, allocations: 8 kB / 1.529 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.769, allocations: 12.72 kB / 1.529 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/1.77, allocations: 91.83 kB / 1.529 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/1.77, allocations: 15.92 kB / 1.529 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/1.77, allocations: 51.86 kB / 1.529 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/1.77, allocations: 24 kB / 1.529 GB, free: 11.85 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.0001733/1.771, allocations: 216 kB / 1.529 GB, free: 11.63 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/1.771, allocations: 106.7 kB / 1.529 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/1.771, allocations: 269.5 kB / 1.53 GB, free: 11.24 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.771, allocations: 4 kB / 1.53 GB, free: 11.24 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.771, allocations: 0 / 1.53 GB, free: 11.24 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.771, allocations: 7.922 kB / 1.53 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/1.773, allocations: 1.211 MB / 1.531 GB, free: 9.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.773, allocations: 0 / 1.531 GB, free: 9.953 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/1.773, allocations: 27.98 kB / 1.531 GB, free: 9.926 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.773, allocations: 7.938 kB / 1.531 GB, free: 9.918 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.773, allocations: 3.938 kB / 1.531 GB, free: 9.914 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.773, allocations: 4 kB / 1.531 GB, free: 9.91 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.773, allocations: 0 / 1.531 GB, free: 9.91 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/1.774, allocations: 318.1 kB / 1.531 GB, free: 9.57 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/1.774, allocations: 231.5 kB / 1.531 GB, free: 9.324 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/1.774, allocations: 4 kB / 1.531 GB, free: 9.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/1.775, allocations: 31.95 kB / 1.531 GB, free: 9.289 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/1.775, allocations: 11.98 kB / 1.531 GB, free: 9.277 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/1.775, allocations: 4 kB / 1.531 GB, free: 9.273 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001365/1.776, allocations: 0.8452 MB / 1.532 GB, free: 8.426 MB / 1.217 GB Notification: Performance of sort global known variables: time 2e-07/1.776, allocations: 4 kB / 1.532 GB, free: 8.422 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002159/1.778, allocations: 0.6984 MB / 1.533 GB, free: 7.723 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.00175/1.78, allocations: 0.5 MB / 1.533 GB, free: 7.223 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009024/1.781, allocations: 402.9 kB / 1.534 GB, free: 6.832 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.781, allocations: 448 / 1.534 GB, free: 6.832 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/1.781, allocations: 75.89 kB / 1.534 GB, free: 6.758 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.783, allocations: 0.4894 MB / 1.534 GB, free: 6.281 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/1.786, allocations: 1.466 MB / 1.536 GB, free: 4.77 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/1.786, allocations: 1.04 MB / 1.537 GB, free: 3.699 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007228/1.787, allocations: 216.5 kB / 1.537 GB, free: 3.484 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/1.787, allocations: 83.41 kB / 1.537 GB, free: 3.402 MB / 1.217 GB Notification: Performance of SimCode: time 9.82e-07/1.787, allocations: 0 / 1.537 GB, free: 3.402 MB / 1.217 GB Notification: Performance of Templates: time 0.04589/1.833, allocations: 25.67 MB / 1.562 GB, free: 9.945 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (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 & ./Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins/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