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.001335/0.001335, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001456/0.001456, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9686/0.9686, allocations: 177.1 MB / 204.2 MB, free: 5.129 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.781/1.781, 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.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.102e-06/1.102e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.452e-05, allocations: 4.047 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1167/0.1167, allocations: 136.8 MB / 0.9451 GB, free: 8.543 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005456/0.1221, allocations: 5.784 MB / 0.9507 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.1224, allocations: 27.81 kB / 0.9508 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.1229, allocations: 190.5 kB / 0.9509 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.1241, allocations: 0.7457 MB / 0.9517 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1255, allocations: 0.9851 MB / 0.9526 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.1264, allocations: 1.36 MB / 0.954 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.1268, allocations: 378.3 kB / 0.9543 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.128, allocations: 0.9384 MB / 0.9552 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.1284, allocations: 402.8 kB / 0.9556 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.1285, allocations: 52 kB / 0.9557 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.1299, allocations: 1.233 MB / 0.9569 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1301, allocations: 167.4 kB / 0.957 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1302, allocations: 251.4 kB / 0.9573 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1315, allocations: 1.336 MB / 0.9586 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1315, allocations: 4 kB / 0.9586 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1315, allocations: 0 / 0.9586 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.1315, 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.001092/0.1326, allocations: 0.9787 MB / 0.9595 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1327, allocations: 12.03 kB / 0.9596 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006416/0.1333, allocations: 239.8 kB / 0.9598 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1337, allocations: 366.8 kB / 0.9601 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1337, allocations: 45.69 kB / 0.9602 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.1338, allocations: 68.31 kB / 0.9602 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.1346, allocations: 0.9401 MB / 0.9612 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1346, allocations: 7.938 kB / 0.9612 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.1346, allocations: 24 kB / 0.9612 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1347, allocations: 12 kB / 0.9612 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.135, allocations: 265.6 kB / 0.9615 GB, free: 7.512 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.007897/0.1429, allocations: 6.095 MB / 0.9674 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1431, allocations: 103.7 kB / 0.9675 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/0.1432, allocations: 68.06 kB / 0.9676 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/0.146, allocations: 1.621 MB / 0.9692 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.146, allocations: 41.62 kB / 0.9692 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.146, allocations: 0 / 0.9692 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.01959/0.1656, allocations: 8.91 MB / 0.9779 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1656, allocations: 136.5 kB / 0.978 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1659, allocations: 386.6 kB / 0.9784 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1659, allocations: 37.7 kB / 0.9784 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1661, allocations: 371.2 kB / 0.9788 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.1662, allocations: 146.7 kB / 0.9789 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.1663, allocations: 107.9 kB / 0.979 GB, free: 5.285 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1664, allocations: 0.5313 MB / 0.9795 GB, free: 4.742 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1665, allocations: 93.25 kB / 0.9796 GB, free: 4.652 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.1668, allocations: 412.2 kB / 0.98 GB, free: 4.133 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.1672, allocations: 425.5 kB / 0.9804 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1672, allocations: 0 / 0.9804 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000796/0.168, allocations: 0.5516 MB / 0.981 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.168, allocations: 8 kB / 0.981 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.168, allocations: 4 kB / 0.981 GB, free: 3.055 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/0.1683, allocations: 111.3 kB / 0.9811 GB, free: 2.938 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1686, allocations: 111.8 kB / 0.9812 GB, free: 2.828 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.1706, allocations: 4.091 MB / 0.9852 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1707, allocations: 23.98 kB / 0.9852 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1708, allocations: 20 kB / 0.9852 GB, free: 14.45 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.00014/0.1709, allocations: 196.5 kB / 0.9854 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1711, allocations: 71.58 kB / 0.9855 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006352/0.1717, allocations: 0.5292 MB / 0.986 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1717, allocations: 4 kB / 0.986 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1717, allocations: 0 / 0.986 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1717, allocations: 3.984 kB / 0.986 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1729, allocations: 1.056 MB / 0.987 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1729, allocations: 8 kB / 0.9871 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.173, allocations: 52.47 kB / 0.9871 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.1732, allocations: 79.62 kB / 0.9872 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1732, allocations: 20 kB / 0.9872 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.1743, allocations: 2.079 MB / 0.9892 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1743, allocations: 7.938 kB / 0.9892 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.175, allocations: 0.6306 MB / 0.9899 GB, free: 9.316 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.175, allocations: 43.77 kB / 0.9899 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.1751, allocations: 12 kB / 0.9899 GB, free: 9.262 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1752, allocations: 19.98 kB / 0.9899 GB, free: 9.242 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1753, allocations: 39.83 kB / 0.99 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1753, allocations: 15.98 kB / 0.99 GB, free: 9.188 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001588/0.1755, allocations: 267.1 kB / 0.9902 GB, free: 8.934 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1755, allocations: 3.938 kB / 0.9902 GB, free: 8.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001522/0.177, allocations: 0.7184 MB / 0.9909 GB, free: 8.211 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.002083/0.1791, allocations: 426.6 kB / 0.9913 GB, free: 7.785 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007009/0.1798, allocations: 0.6469 MB / 0.992 GB, free: 7.105 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1798, allocations: 0 / 0.992 GB, free: 7.105 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.18, allocations: 282 kB / 0.9922 GB, free: 6.809 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.1806, allocations: 227.9 kB / 0.9925 GB, free: 6.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1821, allocations: 1.051 MB / 0.9935 GB, free: 5.426 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.292e-05/0.1822, allocations: 137.5 kB / 0.9936 GB, free: 5.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.1824, allocations: 98.72 kB / 0.9937 GB, free: 5.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.1825, allocations: 40.48 kB / 0.9938 GB, free: 5.141 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/0.1825, allocations: 0 / 0.9938 GB, free: 5.141 MB / 0.948 GB Notification: Performance of Templates: time 0.03921/0.2217, allocations: 33.67 MB / 1.027 GB, free: 3.887 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: 5.920521568041295]