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.000886/0.000886, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001038/0.001038, allocations: 173 kB / 24.28 MB, free: 276 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.915/0.915, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 11 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.333e-06/1.333e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.375e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1417/0.1417, allocations: 159.8 MB / 0.9431 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.008649/0.1503, allocations: 8.21 MB / 0.9511 GB, free: 4.27 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.1509, allocations: 15.88 kB / 0.9511 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008986/0.1518, allocations: 341.7 kB / 0.9515 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.1534, allocations: 0.7768 MB / 0.9522 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.1574, allocations: 2.172 MB / 0.9543 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1589, allocations: 1.395 MB / 0.9557 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/0.1596, allocations: 378.3 kB / 0.9561 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.1625, allocations: 1.7 MB / 0.9577 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.1631, allocations: 390.8 kB / 0.9581 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.1632, allocations: 52 kB / 0.9582 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005308/0.1685, allocations: 3.515 MB / 0.9616 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.1687, allocations: 159.4 kB / 0.9617 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.169, allocations: 255.4 kB / 0.962 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.173, allocations: 2.88 MB / 0.9648 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.173, allocations: 0 / 0.9648 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.063e-06/0.173, allocations: 0 / 0.9648 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.1731, allocations: 0 / 0.9648 GB, free: 6.23 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.001811/0.1749, allocations: 1.06 MB / 0.9658 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1749, allocations: 15.97 kB / 0.9658 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.1758, allocations: 238.9 kB / 0.9661 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.1762, allocations: 378.2 kB / 0.9664 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1763, allocations: 45.3 kB / 0.9665 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.1764, allocations: 63.95 kB / 0.9665 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.1772, allocations: 0.9396 MB / 0.9675 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1772, allocations: 4 kB / 0.9675 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.1772, allocations: 27.94 kB / 0.9675 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1773, allocations: 12 kB / 0.9675 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.1777, allocations: 265.6 kB / 0.9678 GB, free: 2.977 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.008651/0.1863, allocations: 6.099 MB / 0.9737 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1866, allocations: 103.6 kB / 0.9738 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.798e-05/0.1866, allocations: 68.81 kB / 0.9739 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006682/0.1933, allocations: 3.289 MB / 0.9771 GB, free: 9.293 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.1934, allocations: 45.56 kB / 0.9771 GB, free: 9.238 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=27): time 2.906e-06/0.1934, allocations: 0 / 0.9771 GB, free: 9.238 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.03964/0.233, allocations: 16.6 MB / 0.9933 GB, free: 8.617 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.2331, allocations: 140.5 kB / 0.9935 GB, free: 8.449 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.2334, allocations: 394.5 kB / 0.9938 GB, free: 8.051 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2335, allocations: 29.7 kB / 0.9939 GB, free: 8.016 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.2337, allocations: 379.2 kB / 0.9942 GB, free: 7.637 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.2338, allocations: 150.7 kB / 0.9944 GB, free: 7.488 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2339, allocations: 104 kB / 0.9945 GB, free: 7.379 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.234, allocations: 0.5312 MB / 0.995 GB, free: 6.836 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.2342, allocations: 85.27 kB / 0.9951 GB, free: 6.754 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.2345, allocations: 420.3 kB / 0.9955 GB, free: 6.227 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.2349, allocations: 421.7 kB / 0.9959 GB, free: 5.734 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2349, allocations: 4 kB / 0.9959 GB, free: 5.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009189/0.2358, allocations: 0.5388 MB / 0.9964 GB, free: 5.176 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.2359, allocations: 8.531 kB / 0.9964 GB, free: 5.168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2359, allocations: 4 kB / 0.9964 GB, free: 5.164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/0.2363, allocations: 119.2 kB / 0.9965 GB, free: 5.039 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.2365, allocations: 107.8 kB / 0.9966 GB, free: 4.934 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.2392, allocations: 4.079 MB / 1.001 GB, free: 0.6172 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.2395, allocations: 23.98 kB / 1.001 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.2396, allocations: 28 kB / 1.001 GB, free: 0.5664 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.0002033/0.2398, allocations: 184.5 kB / 1.001 GB, free: 384 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.2399, allocations: 71.53 kB / 1.001 GB, free: 312 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007266/0.2407, allocations: 0.4931 MB / 1.001 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2407, allocations: 7.984 kB / 1.001 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2407, allocations: 3.938 kB / 1.001 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2407, allocations: 0 / 1.001 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.242, allocations: 1.082 MB / 1.002 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2421, allocations: 4.125 kB / 1.002 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.2422, allocations: 71.89 kB / 1.003 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.2425, allocations: 76.03 kB / 1.003 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.2425, allocations: 11.94 kB / 1.003 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.2437, allocations: 2.071 MB / 1.005 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2437, allocations: 4 kB / 1.005 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.2444, allocations: 0.6376 MB / 1.005 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.2445, allocations: 47.66 kB / 1.005 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.2446, allocations: 15.98 kB / 1.005 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2447, allocations: 12 kB / 1.005 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.2448, allocations: 47.84 kB / 1.005 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2448, allocations: 20 kB / 1.005 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001945/0.245, allocations: 267.1 kB / 1.006 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.245, allocations: 0 / 1.006 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001592/0.2466, allocations: 0.519 MB / 1.006 GB, free: 10.52 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (31): * Single equations (assignments): 30 * 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.001525/0.2481, allocations: 0.549 MB / 1.007 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0009191/0.2491, allocations: 0.6357 MB / 1.007 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2491, allocations: 0 / 1.007 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.2493, allocations: 297.6 kB / 1.008 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.2501, allocations: 226.8 kB / 1.008 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.2517, allocations: 1.071 MB / 1.009 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2518, allocations: 137.6 kB / 1.009 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000275/0.2521, allocations: 85.09 kB / 1.009 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.2521, allocations: 52.48 kB / 1.009 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of SimCode: time 2.014e-06/0.2521, allocations: 0 / 1.009 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of Templates: time 0.02385/0.276, allocations: 20.68 MB / 1.029 GB, free: 2.828 MB / 0.9792 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.6655099398922175]