Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.001439/0.001439, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001452/0.001452, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 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.9123/0.9123, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.791/1.791, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.658e-05, allocations: 2.875 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1189/0.1189, allocations: 136.8 MB / 0.9451 GB, free: 8.48 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007477/0.1264, allocations: 7.104 MB / 0.9521 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.1269, allocations: 23.81 kB / 0.9521 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.1275, allocations: 198.5 kB / 0.9523 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.1297, allocations: 1.131 MB / 0.9534 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.1322, allocations: 1.301 MB / 0.9547 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.1336, allocations: 1.383 MB / 0.956 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.1342, allocations: 378.2 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.1359, allocations: 0.9191 MB / 0.9573 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.1378, allocations: 1.223 MB / 0.9585 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1379, allocations: 52 kB / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.1396, allocations: 1.217 MB / 0.9597 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1398, allocations: 175.3 kB / 0.9599 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.1401, allocations: 247.5 kB / 0.9601 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.1418, allocations: 1.332 MB / 0.9614 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1418, allocations: 0 / 0.9614 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1418, allocations: 0 / 0.9614 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1418, allocations: 4 kB / 0.9614 GB, free: 7.754 MB / 0.9167 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.00128/0.1431, allocations: 0.9709 MB / 0.9624 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1431, allocations: 16.03 kB / 0.9624 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006672/0.1438, allocations: 231.9 kB / 0.9626 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.1443, allocations: 386.7 kB / 0.963 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1443, allocations: 37.69 kB / 0.963 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.1444, allocations: 60.36 kB / 0.9631 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1454, allocations: 0.8938 MB / 0.9639 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1454, allocations: 11.92 kB / 0.9639 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.1455, allocations: 24 kB / 0.964 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1455, allocations: 16 kB / 0.964 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.1458, allocations: 269.6 kB / 0.9642 GB, free: 4.648 MB / 0.9167 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.002058/0.1479, allocations: 2.736 MB / 0.9669 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.1482, allocations: 197.5 kB / 0.9671 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1483, allocations: 99.64 kB / 0.9672 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003065/0.1514, allocations: 1.73 MB / 0.9689 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1514, allocations: 45.38 kB / 0.9689 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/0.1514, allocations: 3.938 kB / 0.9689 GB, free: 15.72 MB / 0.9323 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.02258/0.174, allocations: 9.851 MB / 0.9785 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.1741, allocations: 145 kB / 0.9787 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.1743, allocations: 370.6 kB / 0.979 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1744, allocations: 37.7 kB / 0.9791 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1745, allocations: 339.5 kB / 0.9794 GB, free: 4.926 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1746, allocations: 198.3 kB / 0.9796 GB, free: 4.73 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.1748, allocations: 116 kB / 0.9797 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1749, allocations: 0.5273 MB / 0.9802 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1751, allocations: 129.2 kB / 0.9803 GB, free: 3.941 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.1753, allocations: 386.8 kB / 0.9807 GB, free: 3.473 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.1758, allocations: 433.4 kB / 0.9811 GB, free: 2.992 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1758, allocations: 7.938 kB / 0.9811 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008888/0.1767, allocations: 0.613 MB / 0.9817 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1767, allocations: 11.94 kB / 0.9817 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1767, allocations: 4.375 kB / 0.9817 GB, free: 2.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.1771, allocations: 115.3 kB / 0.9818 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.1774, allocations: 123.8 kB / 0.982 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.1798, allocations: 4.095 MB / 0.986 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1801, allocations: 27.98 kB / 0.986 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.1801, allocations: 27.98 kB / 0.986 GB, free: 13.71 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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.0001871/0.1803, allocations: 188.4 kB / 0.9862 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.1805, allocations: 95.42 kB / 0.9863 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008256/0.1813, allocations: 0.5961 MB / 0.9869 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1813, allocations: 8 kB / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1813, allocations: 0 / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1813, allocations: 3.984 kB / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1831, allocations: 1.235 MB / 0.9881 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1831, allocations: 4.125 kB / 0.9881 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1833, allocations: 95.89 kB / 0.9882 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.1835, allocations: 75.95 kB / 0.9883 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.1835, allocations: 16 kB / 0.9883 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.1846, allocations: 2.059 MB / 0.9903 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1846, allocations: 7.984 kB / 0.9903 GB, free: 9.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.1855, allocations: 0.7947 MB / 0.9911 GB, free: 8.199 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.1856, allocations: 35.72 kB / 0.9911 GB, free: 8.164 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.1856, allocations: 19.98 kB / 0.9911 GB, free: 8.145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.1858, allocations: 23.98 kB / 0.9911 GB, free: 8.121 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.1859, allocations: 47.84 kB / 0.9912 GB, free: 8.074 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.1859, allocations: 23.98 kB / 0.9912 GB, free: 8.051 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001676/0.1861, allocations: 259.1 kB / 0.9915 GB, free: 7.801 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1861, allocations: 0 / 0.9915 GB, free: 7.801 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002282/0.1884, allocations: 0.7574 MB / 0.9922 GB, free: 7.043 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (46): * Single equations (assignments): 45 * 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.002622/0.191, allocations: 482.6 kB / 0.9927 GB, free: 6.562 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009879/0.192, allocations: 0.7261 MB / 0.9934 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.192, allocations: 4 kB / 0.9934 GB, free: 5.797 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.1923, allocations: 350.7 kB / 0.9937 GB, free: 5.434 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.1931, allocations: 266 kB / 0.994 GB, free: 5.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1948, allocations: 1.079 MB / 0.995 GB, free: 4.012 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.884e-05/0.1949, allocations: 138 kB / 0.9951 GB, free: 3.855 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.1952, allocations: 117 kB / 0.9953 GB, free: 3.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1953, allocations: 60.42 kB / 0.9953 GB, free: 3.691 MB / 0.948 GB Notification: Performance of SimCode: time 1.884e-06/0.1953, allocations: 0 / 0.9953 GB, free: 3.691 MB / 0.948 GB Notification: Performance of Templates: time 0.04685/0.2422, allocations: 39.3 MB / 1.034 GB, free: 12.89 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.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: 9.840656253043562]