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.009108/0.009108, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001753/0.001752, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.516/1.516, 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 11.0.1-master/package.mo): time 2.833/2.833, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.89 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3655, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.128/1.493, allocations: 265.5 MB / 1.467 GB, free: 13.08 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03329/1.527, allocations: 24.31 MB / 1.491 GB, free: 4.715 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/1.531, allocations: 91.44 kB / 1.491 GB, free: 4.625 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002964/1.534, allocations: 0.866 MB / 1.492 GB, free: 3.754 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.544, allocations: 3.656 MB / 1.495 GB, free: 100 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/1.547, allocations: 1.26 MB / 1.496 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004992/1.552, allocations: 3.248 MB / 1.5 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/1.554, allocations: 1.165 MB / 1.501 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008794/1.563, allocations: 3.457 MB / 1.504 GB, free: 6.938 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/1.565, allocations: 0.9295 MB / 1.505 GB, free: 6.004 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/1.565, allocations: 88 kB / 1.505 GB, free: 5.918 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008169/1.574, allocations: 3.768 MB / 1.509 GB, free: 2.145 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004245/1.574, allocations: 266.9 kB / 1.509 GB, free: 1.883 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/1.575, allocations: 0.6412 MB / 1.51 GB, free: 1.238 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006702/1.582, allocations: 3.316 MB / 1.513 GB, free: 13.91 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.582, allocations: 0 / 1.513 GB, free: 13.91 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.775e-06/1.582, allocations: 3.938 kB / 1.513 GB, free: 13.91 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.148e-05/1.582, allocations: 0 / 1.513 GB, free: 13.91 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.003324/1.585, allocations: 1.736 MB / 1.515 GB, free: 12.12 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.585, allocations: 12.62 kB / 1.515 GB, free: 12.11 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/1.587, allocations: 290.1 kB / 1.515 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/1.589, allocations: 1.182 MB / 1.516 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/1.589, allocations: 45.31 kB / 1.516 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/1.59, allocations: 64 kB / 1.516 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.591, allocations: 0.6658 MB / 1.517 GB, free: 9.75 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.591, allocations: 4 kB / 1.517 GB, free: 9.746 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/1.591, allocations: 27.94 kB / 1.517 GB, free: 9.719 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/1.591, allocations: 16 kB / 1.517 GB, free: 9.703 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008014/1.592, allocations: 428.8 kB / 1.517 GB, free: 9.285 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.004911/1.597, allocations: 5.359 MB / 1.523 GB, free: 3.387 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/1.597, allocations: 209 kB / 1.523 GB, free: 3.137 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.597, allocations: 108.2 kB / 1.523 GB, free: 3.016 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/1.597, allocations: 202.2 kB / 1.523 GB, free: 2.781 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.597, allocations: 42.5 kB / 1.523 GB, free: 2.73 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004947/1.598, allocations: 55.56 kB / 1.523 GB, free: 2.676 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 3.707e-06/1.598, allocations: 0 / 1.523 GB, free: 2.676 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0009686/1.599, allocations: 344 kB / 1.523 GB, free: 2.332 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/1.599, allocations: 162.2 kB / 1.524 GB, free: 2.137 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.601, allocations: 1.168 MB / 1.525 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/1.601, allocations: 33.7 kB / 1.525 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/1.601, allocations: 0.5699 MB / 1.525 GB, free: 356 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/1.601, allocations: 55.28 kB / 1.525 GB, free: 300 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.601, allocations: 89.89 kB / 1.525 GB, free: 204 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.602, allocations: 321.9 kB / 1.526 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/1.602, allocations: 108.6 kB / 1.526 GB, free: 15.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/1.602, allocations: 383.6 kB / 1.526 GB, free: 15.26 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/1.603, allocations: 449.4 kB / 1.527 GB, free: 14.71 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.603, allocations: 0 / 1.527 GB, free: 14.71 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009355/1.604, allocations: 0.4921 MB / 1.527 GB, free: 14.21 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.604, allocations: 11.98 kB / 1.527 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.604, allocations: 8 kB / 1.527 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.604, allocations: 15.94 kB / 1.527 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/1.604, allocations: 88.39 kB / 1.527 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.604, allocations: 16 kB / 1.527 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/1.605, allocations: 43.89 kB / 1.527 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/1.605, allocations: 24 kB / 1.527 GB, free: 14.01 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004467/1.605, allocations: 316 kB / 1.528 GB, free: 13.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004258/1.606, allocations: 383.9 kB / 1.528 GB, free: 13.18 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005322/1.606, allocations: 433.5 kB / 1.528 GB, free: 12.65 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/1.606, allocations: 4 kB / 1.528 GB, free: 12.64 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008805/1.607, allocations: 488.2 kB / 1.529 GB, free: 12.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.607, allocations: 8 kB / 1.529 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.607, allocations: 8 kB / 1.529 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.607, allocations: 12 kB / 1.529 GB, free: 12.13 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/1.608, allocations: 87.83 kB / 1.529 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.608, allocations: 15.92 kB / 1.529 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/1.608, allocations: 56.14 kB / 1.529 GB, free: 11.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/1.608, allocations: 20 kB / 1.529 GB, free: 11.96 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.00017/1.609, allocations: 216 kB / 1.529 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/1.609, allocations: 106.7 kB / 1.529 GB, free: 11.63 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/1.609, allocations: 265.6 kB / 1.53 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.609, allocations: 4 kB / 1.53 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.609, allocations: 4 kB / 1.53 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.61, allocations: 7.922 kB / 1.53 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/1.611, allocations: 1.207 MB / 1.531 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.611, allocations: 0 / 1.531 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/1.611, allocations: 32.05 kB / 1.531 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.611, allocations: 3.938 kB / 1.531 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.611, allocations: 4 kB / 1.531 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.611, allocations: 0 / 1.531 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.611, allocations: 4 kB / 1.531 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/1.612, allocations: 317.9 kB / 1.531 GB, free: 9.684 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/1.612, allocations: 231.5 kB / 1.531 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.612, allocations: 4 kB / 1.531 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/1.613, allocations: 31.95 kB / 1.531 GB, free: 9.402 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/1.613, allocations: 15.97 kB / 1.531 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.613, allocations: 8 kB / 1.531 GB, free: 9.379 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001405/1.614, allocations: 0.8452 MB / 1.532 GB, free: 8.531 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.614, allocations: 3.938 kB / 1.532 GB, free: 8.527 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002246/1.617, allocations: 0.6984 MB / 1.533 GB, free: 7.828 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.001641/1.618, allocations: 0.5046 MB / 1.534 GB, free: 7.324 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009603/1.619, allocations: 401.8 kB / 1.534 GB, free: 6.934 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.619, allocations: 3.938 kB / 1.534 GB, free: 6.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/1.62, allocations: 69.53 kB / 1.534 GB, free: 6.863 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.621, allocations: 0.5009 MB / 1.534 GB, free: 6.375 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/1.624, allocations: 1.454 MB / 1.536 GB, free: 4.875 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/1.625, allocations: 1.036 MB / 1.537 GB, free: 3.809 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007856/1.625, allocations: 208.5 kB / 1.537 GB, free: 3.602 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/1.626, allocations: 83.41 kB / 1.537 GB, free: 3.52 MB / 1.217 GB Notification: Performance of SimCode: time 7.72e-07/1.626, allocations: 0 / 1.537 GB, free: 3.52 MB / 1.217 GB Notification: Performance of Templates: time 0.04428/1.67, allocations: 25.69 MB / 1.562 GB, free: 10.05 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