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.001191/0.001191, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001438/0.001438, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9417/0.9417, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.681/1.681, allocations: 359 MB / 0.6055 GB, free: 10.86 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.603e-06/1.603e-06, allocations: 3.938 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.392e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1149/0.1149, allocations: 134.2 MB / 0.9186 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005726/0.1206, allocations: 5.721 MB / 0.9242 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.121, allocations: 23.81 kB / 0.9242 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.1215, allocations: 194.4 kB / 0.9244 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.1229, allocations: 0.7457 MB / 0.9251 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1246, allocations: 0.9814 MB / 0.9261 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1257, allocations: 1.371 MB / 0.9274 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.1261, allocations: 366.4 kB / 0.9278 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.1272, allocations: 0.9423 MB / 0.9287 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.1276, allocations: 394.8 kB / 0.9291 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.1277, allocations: 52 kB / 0.9291 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.1294, allocations: 1.229 MB / 0.9303 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1295, allocations: 167.4 kB / 0.9305 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1296, allocations: 247.4 kB / 0.9307 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.1309, allocations: 1.328 MB / 0.932 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1309, allocations: 4 kB / 0.932 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1309, allocations: 0 / 0.932 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1309, allocations: 0 / 0.932 GB, free: 7.762 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.001007/0.1319, allocations: 0.9708 MB / 0.933 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1319, allocations: 12.03 kB / 0.933 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.1326, allocations: 239.8 kB / 0.9332 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.1329, allocations: 378.7 kB / 0.9336 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.133, allocations: 45.67 kB / 0.9336 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.133, allocations: 60.38 kB / 0.9337 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.1337, allocations: 0.8508 MB / 0.9345 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1337, allocations: 7.938 kB / 0.9345 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.1337, allocations: 20 kB / 0.9345 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1337, allocations: 16 kB / 0.9345 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.134, allocations: 218.6 kB / 0.9348 GB, free: 4.758 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.006828/0.1408, allocations: 5.347 MB / 0.94 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.141, allocations: 99.69 kB / 0.9401 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.141, allocations: 60.09 kB / 0.9401 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002239/0.1433, allocations: 1.312 MB / 0.9414 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1433, allocations: 49.5 kB / 0.9415 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.1433, allocations: 0 / 0.9415 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40): time 0.01612/0.1594, allocations: 7.037 MB / 0.9483 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1595, allocations: 140.5 kB / 0.9485 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.1597, allocations: 382.3 kB / 0.9488 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1598, allocations: 37.7 kB / 0.9489 GB, free: 6.113 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1599, allocations: 371.1 kB / 0.9492 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.16, allocations: 142.8 kB / 0.9494 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1601, allocations: 111.9 kB / 0.9495 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1602, allocations: 0.5311 MB / 0.95 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.1603, allocations: 77.25 kB / 0.9501 GB, free: 4.867 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1606, allocations: 392.3 kB / 0.9504 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.161, allocations: 400.4 kB / 0.9508 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.161, allocations: 4 kB / 0.9508 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006983/0.1617, allocations: 0.5021 MB / 0.9513 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1617, allocations: 8 kB / 0.9513 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1617, allocations: 4.531 kB / 0.9513 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.162, allocations: 111.2 kB / 0.9514 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.1622, allocations: 111.8 kB / 0.9515 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.1642, allocations: 4.033 MB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1644, allocations: 23.98 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.1645, allocations: 16 kB / 0.9555 GB, free: 14.84 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.0001557/0.1646, allocations: 200.3 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.1648, allocations: 67.59 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.1654, allocations: 0.518 MB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1654, allocations: 4 kB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1654, allocations: 0 / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1654, allocations: 4 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1665, allocations: 1.056 MB / 0.9573 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.1665, allocations: 4 kB / 0.9573 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.1667, allocations: 55.91 kB / 0.9574 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.1669, allocations: 76.16 kB / 0.9574 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1669, allocations: 15.98 kB / 0.9575 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.1679, allocations: 2.056 MB / 0.9595 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1679, allocations: 4 kB / 0.9595 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.1685, allocations: 0.5925 MB / 0.96 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1685, allocations: 39.75 kB / 0.9601 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1686, allocations: 8 kB / 0.9601 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1687, allocations: 19.98 kB / 0.9601 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.1688, allocations: 43.86 kB / 0.9601 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1688, allocations: 23.88 kB / 0.9602 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001342/0.1689, allocations: 259 kB / 0.9604 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1689, allocations: 0 / 0.9604 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001971/0.1709, allocations: 0.7106 MB / 0.9611 GB, free: 8.711 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.002045/0.1729, allocations: 434.7 kB / 0.9615 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.1736, allocations: 0.6161 MB / 0.9621 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1736, allocations: 0 / 0.9621 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.1738, allocations: 287.4 kB / 0.9624 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.1744, allocations: 217.4 kB / 0.9626 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1756, allocations: 1.044 MB / 0.9636 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.1757, allocations: 133.6 kB / 0.9638 GB, free: 5.809 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.1759, allocations: 85.53 kB / 0.9638 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.1763, allocations: 270 kB / 0.9641 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.1763, allocations: 0 / 0.9641 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of Templates: time 0.0401/0.2164, allocations: 35.39 MB / 0.9987 GB, free: 2.449 MB / 0.948 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: 5.469564481638372]