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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.01544/0.01544, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.002221/0.002221, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.451/1.451, 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 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7453 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, allocations: 159.9 MB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.144/1.517, allocations: 265.5 MB / 1.485 GB, free: 4.637 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03623/1.553, allocations: 24.32 MB / 1.509 GB, free: 12.27 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003945/1.557, allocations: 91.44 kB / 1.509 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002928/1.56, allocations: 0.8426 MB / 1.51 GB, free: 11.33 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/1.572, allocations: 3.54 MB / 1.513 GB, free: 7.789 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/1.576, allocations: 1.252 MB / 1.514 GB, free: 6.555 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005487/1.582, allocations: 3.239 MB / 1.517 GB, free: 3.305 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/1.584, allocations: 1.172 MB / 1.519 GB, free: 2.105 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/1.594, allocations: 3.342 MB / 1.522 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/1.597, allocations: 0.9256 MB / 1.523 GB, free: 13.82 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005264/1.597, allocations: 91.94 kB / 1.523 GB, free: 13.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0091/1.606, allocations: 3.761 MB / 1.526 GB, free: 9.965 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005836/1.607, allocations: 262.9 kB / 1.527 GB, free: 9.707 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/1.608, allocations: 0.649 MB / 1.527 GB, free: 9.055 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.007662/1.616, allocations: 3.338 MB / 1.531 GB, free: 5.707 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.616, allocations: 0 / 1.531 GB, free: 5.707 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.873e-06/1.616, allocations: 0 / 1.531 GB, free: 5.707 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.919e-05/1.616, allocations: 0 / 1.531 GB, free: 5.707 MB / 1.217 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.004075/1.62, allocations: 1.788 MB / 1.532 GB, free: 3.859 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.62, allocations: 12.03 kB / 1.532 GB, free: 3.848 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/1.623, allocations: 302.8 kB / 1.533 GB, free: 3.551 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/1.625, allocations: 1.18 MB / 1.534 GB, free: 2.316 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/1.625, allocations: 53.25 kB / 1.534 GB, free: 2.266 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/1.625, allocations: 64 kB / 1.534 GB, free: 2.203 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/1.626, allocations: 0.6606 MB / 1.535 GB, free: 1.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/1.626, allocations: 7.938 kB / 1.535 GB, free: 1.473 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1.626, allocations: 27.94 kB / 1.535 GB, free: 1.445 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/1.626, allocations: 16 kB / 1.535 GB, free: 1.43 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/1.627, allocations: 432.8 kB / 1.535 GB, free: 1.004 MB / 1.217 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.005421/1.633, allocations: 5.36 MB / 1.54 GB, free: 11.1 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/1.633, allocations: 205.1 kB / 1.54 GB, free: 10.85 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/1.633, allocations: 112.2 kB / 1.541 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/1.634, allocations: 202.2 kB / 1.541 GB, free: 10.49 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.634, allocations: 42.56 kB / 1.541 GB, free: 10.44 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005771/1.634, allocations: 59.69 kB / 1.541 GB, free: 10.38 MB / 1.232 GB Notification: Performance of pre-optimization done (n=13): time 4.168e-06/1.634, allocations: 0 / 1.541 GB, free: 10.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=13): time 0.001043/1.635, allocations: 356.6 kB / 1.541 GB, free: 10.03 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/1.636, allocations: 162.2 kB / 1.541 GB, free: 9.832 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/1.638, allocations: 1.168 MB / 1.542 GB, free: 8.656 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/1.638, allocations: 33.7 kB / 1.543 GB, free: 8.617 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/1.638, allocations: 0.5825 MB / 1.543 GB, free: 8.031 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/1.638, allocations: 55.44 kB / 1.543 GB, free: 7.98 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.638, allocations: 89.61 kB / 1.543 GB, free: 7.887 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.638, allocations: 333.9 kB / 1.544 GB, free: 7.555 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/1.639, allocations: 92.8 kB / 1.544 GB, free: 7.461 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/1.639, allocations: 391.2 kB / 1.544 GB, free: 6.941 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/1.64, allocations: 443.4 kB / 1.544 GB, free: 6.402 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.64, allocations: 0 / 1.544 GB, free: 6.402 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00108/1.641, allocations: 0.489 MB / 1.545 GB, free: 5.906 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.641, allocations: 8.375 kB / 1.545 GB, free: 5.898 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.641, allocations: 8 kB / 1.545 GB, free: 5.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.641, allocations: 12 kB / 1.545 GB, free: 5.879 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/1.641, allocations: 87.83 kB / 1.545 GB, free: 5.793 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.641, allocations: 16.31 kB / 1.545 GB, free: 5.777 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/1.642, allocations: 55.84 kB / 1.545 GB, free: 5.723 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/1.642, allocations: 24 kB / 1.545 GB, free: 5.699 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000496/1.643, allocations: 312 kB / 1.545 GB, free: 5.391 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000411/1.643, allocations: 375.6 kB / 1.546 GB, free: 4.883 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005701/1.644, allocations: 438.3 kB / 1.546 GB, free: 4.348 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/1.644, allocations: 4 kB / 1.546 GB, free: 4.344 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.000957/1.645, allocations: 497.7 kB / 1.547 GB, free: 3.852 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.645, allocations: 11.98 kB / 1.547 GB, free: 3.84 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.645, allocations: 8 kB / 1.547 GB, free: 3.832 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.645, allocations: 8 kB / 1.547 GB, free: 3.824 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/1.645, allocations: 83.89 kB / 1.547 GB, free: 3.742 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.645, allocations: 15.94 kB / 1.547 GB, free: 3.727 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/1.646, allocations: 52.11 kB / 1.547 GB, free: 3.676 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/1.646, allocations: 24 kB / 1.547 GB, free: 3.652 MB / 1.232 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.0001424/1.646, allocations: 212.9 kB / 1.547 GB, free: 3.438 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/1.646, allocations: 119.2 kB / 1.547 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/1.647, allocations: 269.5 kB / 1.547 GB, free: 3.039 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.647, allocations: 0 / 1.547 GB, free: 3.039 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.647, allocations: 8 kB / 1.547 GB, free: 3.031 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.647, allocations: 3.938 kB / 1.547 GB, free: 3.027 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/1.648, allocations: 1.203 MB / 1.549 GB, free: 1.758 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.648, allocations: 7.938 kB / 1.549 GB, free: 1.75 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/1.648, allocations: 23.98 kB / 1.549 GB, free: 1.727 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.648, allocations: 8.062 kB / 1.549 GB, free: 1.719 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/1.648, allocations: 8 kB / 1.549 GB, free: 1.711 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.648, allocations: 7.922 kB / 1.549 GB, free: 1.703 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.648, allocations: 8 kB / 1.549 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/1.649, allocations: 310.7 kB / 1.549 GB, free: 1.363 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/1.649, allocations: 240.1 kB / 1.549 GB, free: 1.109 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.649, allocations: 8 kB / 1.549 GB, free: 1.102 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/1.65, allocations: 19.97 kB / 1.549 GB, free: 1.082 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/1.65, allocations: 15.92 kB / 1.549 GB, free: 1.066 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/1.65, allocations: 12 kB / 1.549 GB, free: 1.055 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001284/1.651, allocations: 0.8413 MB / 1.55 GB, free: 216 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.8e-07/1.651, allocations: 0 / 1.55 GB, free: 216 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.002068/1.653, allocations: 0.706 MB / 1.551 GB, free: 15.5 MB / 1.248 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.001722/1.655, allocations: 0.5075 MB / 1.551 GB, free: 15 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008816/1.656, allocations: 406 kB / 1.552 GB, free: 14.6 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.656, allocations: 0 / 1.552 GB, free: 14.6 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/1.656, allocations: 73.38 kB / 1.552 GB, free: 14.53 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.658, allocations: 0.5007 MB / 1.552 GB, free: 14.05 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/1.661, allocations: 1.495 MB / 1.554 GB, free: 12.51 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/1.661, allocations: 1.036 MB / 1.555 GB, free: 11.44 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007448/1.662, allocations: 220.5 kB / 1.555 GB, free: 11.22 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/1.662, allocations: 75.36 kB / 1.555 GB, free: 11.15 MB / 1.248 GB Notification: Performance of SimCode: time 7.31e-07/1.662, allocations: 0 / 1.555 GB, free: 11.15 MB / 1.248 GB Notification: Performance of Templates: time 0.04409/1.706, allocations: 25.68 MB / 1.58 GB, free: 1.688 MB / 1.264 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