Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001831, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006788/0.0006788, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008263/0.001505, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9572/0.9572, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1117/1.069, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.436/2.436, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2816/2.718, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.573e-05, allocations: 9.203 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1346/0.1346, allocations: 136.6 MB / 0.9517 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006195/0.1408, allocations: 5.821 MB / 0.9574 GB, free: 3.91 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.1411, allocations: 19.88 kB / 0.9574 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.1415, allocations: 206.4 kB / 0.9576 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.1427, allocations: 0.7223 MB / 0.9583 GB, free: 2.961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.1443, allocations: 0.9306 MB / 0.9592 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.1455, allocations: 1.372 MB / 0.9606 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.146, allocations: 367 kB / 0.9609 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.1474, allocations: 0.9792 MB / 0.9619 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.148, allocations: 378.9 kB / 0.9622 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.148, allocations: 48 kB / 0.9623 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.15, allocations: 1.303 MB / 0.9636 GB, free: 13.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1501, allocations: 123.6 kB / 0.9637 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.1503, allocations: 207.6 kB / 0.9639 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1514, allocations: 1.075 MB / 0.9649 GB, free: 12.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.1514, allocations: 0 / 0.9649 GB, free: 12.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1514, allocations: 0 / 0.9649 GB, free: 12.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.1514, allocations: 0 / 0.9649 GB, free: 12.18 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001128/0.1526, allocations: 1.105 MB / 0.966 GB, free: 11.03 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1526, allocations: 12.61 kB / 0.966 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005774/0.1532, allocations: 228.2 kB / 0.9662 GB, free: 10.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1535, allocations: 321.2 kB / 0.9665 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1535, allocations: 45.69 kB / 0.9666 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.1536, allocations: 60.31 kB / 0.9666 GB, free: 10.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.1542, allocations: 0.8227 MB / 0.9674 GB, free: 9.391 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.1542, allocations: 11.88 kB / 0.9675 GB, free: 9.379 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.1543, allocations: 28 kB / 0.9675 GB, free: 9.352 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1543, allocations: 12 kB / 0.9675 GB, free: 9.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.1545, allocations: 195.2 kB / 0.9677 GB, free: 9.145 MB / 0.948 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.006207/0.1607, allocations: 4.558 MB / 0.9721 GB, free: 4.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1609, allocations: 75.23 kB / 0.9722 GB, free: 4.438 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1609, allocations: 53.31 kB / 0.9723 GB, free: 4.383 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/0.1629, allocations: 1.309 MB / 0.9735 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.163, allocations: 46.67 kB / 0.9736 GB, free: 3.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.163, allocations: 0 / 0.9736 GB, free: 3.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.002221/0.1652, allocations: 1.258 MB / 0.9748 GB, free: 1.738 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.1652, allocations: 67.28 kB / 0.9749 GB, free: 1.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1654, allocations: 319.2 kB / 0.9752 GB, free: 1.336 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1654, allocations: 33.7 kB / 0.9752 GB, free: 1.297 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1656, allocations: 297 kB / 0.9755 GB, free: 1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.1656, allocations: 150.7 kB / 0.9756 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.1657, allocations: 106.2 kB / 0.9757 GB, free: 0.7383 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.1658, allocations: 354.7 kB / 0.9761 GB, free: 392 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.1659, allocations: 61.28 kB / 0.9761 GB, free: 332 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1661, allocations: 310.2 kB / 0.9764 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.1666, allocations: 330.6 kB / 0.9767 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1666, allocations: 4 kB / 0.9767 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005182/0.1671, allocations: 418.4 kB / 0.9771 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1671, allocations: 4 kB / 0.9772 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1671, allocations: 8 kB / 0.9772 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.1674, allocations: 106.1 kB / 0.9773 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.1676, allocations: 123.8 kB / 0.9774 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.169, allocations: 2.755 MB / 0.9801 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1692, allocations: 23.98 kB / 0.9801 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1692, allocations: 20 kB / 0.9801 GB, free: 11.91 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.1693, allocations: 148.4 kB / 0.9803 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1694, allocations: 55.92 kB / 0.9803 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.1699, allocations: 422.9 kB / 0.9807 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1699, allocations: 4 kB / 0.9807 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1699, allocations: 0 / 0.9807 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1699, allocations: 3.984 kB / 0.9807 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008138/0.1707, allocations: 0.8562 MB / 0.9816 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1707, allocations: 4 kB / 0.9816 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1708, allocations: 63.91 kB / 0.9816 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.1709, allocations: 39.75 kB / 0.9817 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.171, allocations: 64.98 kB / 0.9817 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.171, allocations: 19.94 kB / 0.9817 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007153/0.1717, allocations: 1.395 MB / 0.9831 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1717, allocations: 7.938 kB / 0.9831 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.1724, allocations: 473.6 kB / 0.9836 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.1725, allocations: 12 kB / 0.9836 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1726, allocations: 19.98 kB / 0.9836 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.1727, allocations: 43.77 kB / 0.9836 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1727, allocations: 23.92 kB / 0.9837 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.681e-05/0.1728, allocations: 128.8 kB / 0.9838 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1728, allocations: 4 kB / 0.9838 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004887/0.1732, allocations: 263.8 kB / 0.984 GB, free: 7.586 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/0.1737, allocations: 262 kB / 0.9843 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004827/0.1742, allocations: 0.496 MB / 0.9848 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/0.1742, allocations: 8 kB / 0.9848 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.1743, allocations: 231.4 kB / 0.985 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.1749, allocations: 268 kB / 0.9852 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/0.1809, allocations: 1.043 MB / 0.9863 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.612e-05/0.1809, allocations: 125.8 kB / 0.9864 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.1811, allocations: 95.66 kB / 0.9865 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.1815, allocations: 213.2 kB / 0.9867 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of SimCode: time 9.51e-07/0.1815, allocations: 0 / 0.9867 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of Templates: time 0.01405/0.1955, allocations: 13.01 MB / 0.9994 GB, free: 7.906 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.958655010908842]