Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001051/0.001051, 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.001211/0.001211, 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.9292/0.9292, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.692/1.692, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.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_12_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_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.768e-05, allocations: 3.156 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1132/0.1133, allocations: 136.8 MB / 0.9451 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005212/0.1185, allocations: 5.776 MB / 0.9507 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.1188, allocations: 19.81 kB / 0.9508 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.1192, allocations: 198.5 kB / 0.951 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.1204, allocations: 0.7496 MB / 0.9517 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1218, allocations: 0.9774 MB / 0.9526 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.1231, allocations: 1.372 MB / 0.954 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.1235, allocations: 370.4 kB / 0.9543 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.1247, allocations: 0.9423 MB / 0.9553 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.1251, allocations: 402.8 kB / 0.9556 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.1252, allocations: 52 kB / 0.9557 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.1266, allocations: 1.229 MB / 0.9569 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1268, allocations: 163.4 kB / 0.957 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.1269, allocations: 247.5 kB / 0.9573 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.1281, allocations: 1.325 MB / 0.9586 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1281, allocations: 3.938 kB / 0.9586 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1281, allocations: 4 kB / 0.9586 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1281, allocations: 0 / 0.9586 GB, free: 10.67 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.001036/0.1291, allocations: 0.9709 MB / 0.9595 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1292, allocations: 8.031 kB / 0.9595 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.1298, allocations: 235.8 kB / 0.9598 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.1304, allocations: 386.7 kB / 0.9601 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1305, allocations: 37.69 kB / 0.9602 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.1305, allocations: 60.38 kB / 0.9602 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.1312, allocations: 0.8888 MB / 0.9611 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1312, allocations: 11.89 kB / 0.9611 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.1313, allocations: 28 kB / 0.9611 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1313, allocations: 12 kB / 0.9611 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.1316, allocations: 261.6 kB / 0.9614 GB, free: 7.582 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.007564/0.1392, allocations: 6.08 MB / 0.9673 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1394, allocations: 112.8 kB / 0.9674 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.1395, allocations: 64.06 kB / 0.9675 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002618/0.1421, allocations: 1.633 MB / 0.9691 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1421, allocations: 37.62 kB / 0.9691 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=27): time 1.202e-06/0.1421, allocations: 0 / 0.9691 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.01896/0.1611, allocations: 8.902 MB / 0.9778 GB, free: 6.598 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.1611, allocations: 140.5 kB / 0.978 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1614, allocations: 390.5 kB / 0.9783 GB, free: 6.035 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1614, allocations: 37.7 kB / 0.9784 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1615, allocations: 371.2 kB / 0.9787 GB, free: 5.625 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.1616, allocations: 142.8 kB / 0.9788 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1617, allocations: 107.9 kB / 0.979 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1618, allocations: 0.5235 MB / 0.9795 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.162, allocations: 93.25 kB / 0.9796 GB, free: 4.742 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.1622, allocations: 412.3 kB / 0.9799 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.1626, allocations: 425.2 kB / 0.9804 GB, free: 3.723 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1626, allocations: 4 kB / 0.9804 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007776/0.1634, allocations: 0.5468 MB / 0.9809 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1634, allocations: 8 kB / 0.9809 GB, free: 3.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1634, allocations: 7.984 kB / 0.9809 GB, free: 3.145 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.1639, allocations: 115.8 kB / 0.981 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1642, allocations: 107.8 kB / 0.9811 GB, free: 2.918 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.166, allocations: 4.103 MB / 0.9851 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1662, allocations: 19.98 kB / 0.9851 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.1662, allocations: 24.12 kB / 0.9852 GB, free: 14.53 MB / 0.948 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.000129/0.1664, allocations: 188.4 kB / 0.9853 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.1665, allocations: 75.58 kB / 0.9854 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/0.1671, allocations: 0.5288 MB / 0.9859 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1671, allocations: 4 kB / 0.9859 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1671, allocations: 3.984 kB / 0.9859 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1671, allocations: 4 kB / 0.9859 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1682, allocations: 1.052 MB / 0.987 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1682, allocations: 4 kB / 0.987 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.1683, allocations: 59.84 kB / 0.987 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.1685, allocations: 80.06 kB / 0.9871 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.1685, allocations: 19.92 kB / 0.9871 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1697, allocations: 2.072 MB / 0.9892 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1697, allocations: 7.938 kB / 0.9892 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.1703, allocations: 0.6271 MB / 0.9898 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.1704, allocations: 39.7 kB / 0.9898 GB, free: 9.363 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1704, allocations: 15.98 kB / 0.9898 GB, free: 9.348 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.1705, allocations: 12 kB / 0.9898 GB, free: 9.336 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.1706, allocations: 43.83 kB / 0.9899 GB, free: 9.293 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1706, allocations: 20.02 kB / 0.9899 GB, free: 9.273 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000155/0.1708, allocations: 267.1 kB / 0.9902 GB, free: 9.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1708, allocations: 0 / 0.9902 GB, free: 9.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001381/0.1722, allocations: 0.7144 MB / 0.9909 GB, free: 8.305 MB / 0.948 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.002093/0.1743, allocations: 426.1 kB / 0.9913 GB, free: 7.883 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006687/0.1749, allocations: 0.6448 MB / 0.9919 GB, free: 7.203 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1749, allocations: 0 / 0.9919 GB, free: 7.203 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1751, allocations: 286.4 kB / 0.9922 GB, free: 6.902 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.1757, allocations: 221.2 kB / 0.9924 GB, free: 6.684 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1769, allocations: 1.053 MB / 0.9934 GB, free: 5.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.332e-05/0.177, allocations: 133.5 kB / 0.9935 GB, free: 5.367 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.1772, allocations: 98.27 kB / 0.9936 GB, free: 5.277 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.1773, allocations: 40.5 kB / 0.9937 GB, free: 5.238 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/0.1773, allocations: 0 / 0.9937 GB, free: 5.238 MB / 0.948 GB Notification: Performance of Templates: time 0.0348/0.2121, allocations: 35.5 MB / 1.028 GB, free: 2.164 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.59671613201499]