Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001289/0.001289, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009928/0.0009928, allocations: 161 kB / 23.82 MB, free: 0.7539 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.8668/0.8668, allocations: 177.2 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.629/1.629, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.209e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1129/0.113, allocations: 136.8 MB / 0.9207 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0052/0.1182, allocations: 5.767 MB / 0.9263 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.1185, allocations: 23.81 kB / 0.9263 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.119, allocations: 186.6 kB / 0.9265 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.1202, allocations: 0.7495 MB / 0.9272 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1216, allocations: 0.9814 MB / 0.9282 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1227, allocations: 1.375 MB / 0.9295 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.1232, allocations: 366.4 kB / 0.9299 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1243, allocations: 0.9424 MB / 0.9308 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.1247, allocations: 394.8 kB / 0.9312 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.1248, allocations: 52 kB / 0.9312 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1262, allocations: 1.229 MB / 0.9324 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1263, allocations: 167.4 kB / 0.9326 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1265, allocations: 247.5 kB / 0.9328 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1277, allocations: 1.328 MB / 0.9341 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1277, allocations: 0 / 0.9341 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1277, allocations: 0 / 0.9341 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1277, allocations: 4 kB / 0.9341 GB, free: 5.418 MB / 0.8855 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.001044/0.1288, allocations: 0.9631 MB / 0.9351 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1288, allocations: 12.03 kB / 0.9351 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006278/0.1294, allocations: 239.8 kB / 0.9353 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.1299, allocations: 382.7 kB / 0.9357 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1299, allocations: 41.67 kB / 0.9357 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.13, allocations: 60.38 kB / 0.9358 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.1307, allocations: 0.8899 MB / 0.9366 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1307, allocations: 11.88 kB / 0.9366 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.1308, allocations: 28 kB / 0.9367 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1308, allocations: 12 kB / 0.9367 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.1311, allocations: 261.6 kB / 0.9369 GB, free: 2.332 MB / 0.8855 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.007615/0.1387, allocations: 6.095 MB / 0.9429 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1389, allocations: 103.7 kB / 0.943 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.139, allocations: 72.77 kB / 0.943 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002648/0.1417, allocations: 1.618 MB / 0.9446 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1417, allocations: 45.56 kB / 0.9447 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.1417, allocations: 0 / 0.9447 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40): time 0.01877/0.1605, allocations: 8.914 MB / 0.9534 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1605, allocations: 136.5 kB / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.1608, allocations: 386.6 kB / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1608, allocations: 37.7 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.161, allocations: 371.2 kB / 0.9543 GB, free: 360 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1611, allocations: 146.7 kB / 0.9544 GB, free: 212 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1612, allocations: 111.9 kB / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1613, allocations: 0.5195 MB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1614, allocations: 97.25 kB / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.1617, allocations: 412.3 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.1621, allocations: 425.1 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1621, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008389/0.1629, allocations: 0.5504 MB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1629, allocations: 10.03 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1629, allocations: 4.531 kB / 0.9565 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.1632, allocations: 119.3 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1635, allocations: 107.8 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.1653, allocations: 4.09 MB / 0.9607 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.1655, allocations: 20 kB / 0.9607 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.1655, allocations: 23.98 kB / 0.9607 GB, free: 9.27 MB / 0.9167 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.0001455/0.1657, allocations: 196.4 kB / 0.9609 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.1658, allocations: 71.58 kB / 0.961 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.1665, allocations: 0.534 MB / 0.9615 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1665, allocations: 4 kB / 0.9615 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1665, allocations: 0 / 0.9615 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1665, allocations: 7.984 kB / 0.9615 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1675, allocations: 1.06 MB / 0.9625 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1675, allocations: 4 kB / 0.9625 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.1677, allocations: 55.91 kB / 0.9626 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.1678, allocations: 76.16 kB / 0.9627 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1679, allocations: 15.94 kB / 0.9627 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1689, allocations: 2.083 MB / 0.9647 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1689, allocations: 11.97 kB / 0.9647 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.1695, allocations: 0.6121 MB / 0.9653 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.1695, allocations: 47.69 kB / 0.9654 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.1696, allocations: 12 kB / 0.9654 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1697, allocations: 15.98 kB / 0.9654 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.1698, allocations: 39.86 kB / 0.9654 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1698, allocations: 20 kB / 0.9655 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001603/0.17, allocations: 271.1 kB / 0.9657 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.17, allocations: 0 / 0.9657 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001517/0.1715, allocations: 0.7066 MB / 0.9664 GB, free: 3.031 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (29): * Single equations (assignments): 28 * 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.002076/0.1736, allocations: 429.3 kB / 0.9668 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000676/0.1743, allocations: 0.6405 MB / 0.9674 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1743, allocations: 4 kB / 0.9674 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.1745, allocations: 289.9 kB / 0.9677 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.1751, allocations: 212.9 kB / 0.9679 GB, free: 1.418 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1763, allocations: 1.06 MB / 0.969 GB, free: 252 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.882e-05/0.1764, allocations: 129.6 kB / 0.9691 GB, free: 100 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002123/0.1766, allocations: 90.89 kB / 0.9692 GB, free: 16 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.1767, allocations: 48.53 kB / 0.9692 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of SimCode: time 6.22e-07/0.1767, allocations: 4 kB / 0.9692 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of Templates: time 0.03688/0.2135, allocations: 35.5 MB / 1.004 GB, free: 12.9 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.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: 7.756165261846036]