Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001344/0.001344, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001924/0.001924, allocations: 173 kB / 23.36 MB, free: 1.133 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.934/0.934, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.325/2.325, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.624e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1267/0.1268, allocations: 136.2 MB / 0.9716 GB, free: 5.504 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00541/0.1322, allocations: 5.798 MB / 0.9772 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.1324, allocations: 19.88 kB / 0.9772 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.1329, allocations: 202.4 kB / 0.9774 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.134, allocations: 0.7418 MB / 0.9782 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1353, allocations: 0.993 MB / 0.9791 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009277/0.1363, allocations: 1.364 MB / 0.9805 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.1367, allocations: 370.9 kB / 0.9808 GB, free: 11.99 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.138, allocations: 0.9462 MB / 0.9817 GB, free: 11.04 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.1384, allocations: 382.8 kB / 0.9821 GB, free: 10.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.1384, allocations: 52 kB / 0.9822 GB, free: 10.61 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.1398, allocations: 1.221 MB / 0.9834 GB, free: 9.391 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1399, allocations: 167.4 kB / 0.9835 GB, free: 9.227 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.14, allocations: 251.4 kB / 0.9838 GB, free: 8.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1411, allocations: 1.325 MB / 0.985 GB, free: 7.652 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1411, allocations: 3.938 kB / 0.985 GB, free: 7.648 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.395e-06/0.1411, allocations: 3.984 kB / 0.9851 GB, free: 7.645 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1411, allocations: 0 / 0.9851 GB, free: 7.645 MB / 0.948 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.0009332/0.1421, allocations: 0.8341 MB / 0.9859 GB, free: 6.785 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1421, allocations: 12.62 kB / 0.9859 GB, free: 6.773 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00059/0.1427, allocations: 236.1 kB / 0.9861 GB, free: 6.543 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.143, allocations: 325.2 kB / 0.9864 GB, free: 6.199 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1431, allocations: 37.69 kB / 0.9865 GB, free: 6.164 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.1431, allocations: 68.33 kB / 0.9865 GB, free: 6.098 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.1437, allocations: 0.8266 MB / 0.9873 GB, free: 5.137 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1437, allocations: 7.875 kB / 0.9873 GB, free: 5.129 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.1437, allocations: 24 kB / 0.9874 GB, free: 5.105 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1438, allocations: 12 kB / 0.9874 GB, free: 5.094 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.144, allocations: 211.2 kB / 0.9876 GB, free: 4.883 MB / 0.948 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.006189/0.1502, allocations: 4.539 MB / 0.992 GB, free: 276 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1503, allocations: 83.23 kB / 0.9921 GB, free: 184 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.1504, allocations: 49.3 kB / 0.9921 GB, free: 132 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002127/0.1525, allocations: 1.302 MB / 0.9934 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1525, allocations: 42.73 kB / 0.9934 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.1525, allocations: 0 / 0.9934 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.01542/0.168, allocations: 7.103 MB / 1 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.168, allocations: 144.4 kB / 1.001 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1682, allocations: 315.2 kB / 1.001 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1682, allocations: 37.7 kB / 1.001 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1683, allocations: 297.1 kB / 1.001 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.1684, allocations: 150.7 kB / 1.001 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.1685, allocations: 106.2 kB / 1.001 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.1686, allocations: 354.7 kB / 1.002 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.1687, allocations: 61.28 kB / 1.002 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.1691, allocations: 318 kB / 1.002 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1694, allocations: 336.1 kB / 1.002 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1694, allocations: 0 / 1.002 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005626/0.17, allocations: 414.7 kB / 1.003 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.17, allocations: 4 kB / 1.003 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.17, allocations: 11.98 kB / 1.003 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.1703, allocations: 101.7 kB / 1.003 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.1705, allocations: 107.8 kB / 1.003 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.1719, allocations: 2.747 MB / 1.006 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.1721, allocations: 20.16 kB / 1.006 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.1721, allocations: 23.98 kB / 1.006 GB, free: 1.75 MB / 0.9636 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.0001262/0.1722, allocations: 148.5 kB / 1.006 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.1723, allocations: 55.77 kB / 1.006 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.1728, allocations: 460.1 kB / 1.006 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1728, allocations: 7.938 kB / 1.006 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1728, allocations: 0 / 1.006 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1728, allocations: 0 / 1.006 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.1737, allocations: 0.8313 MB / 1.007 GB, free: 128 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1737, allocations: 8.031 kB / 1.007 GB, free: 120 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1739, allocations: 59.91 kB / 1.007 GB, free: 60 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001666/0.174, allocations: 64.86 kB / 1.007 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.174, allocations: 11.94 kB / 1.007 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007787/0.1748, allocations: 1.414 MB / 1.009 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1748, allocations: 8 kB / 1.009 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.1755, allocations: 460.6 kB / 1.009 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.1756, allocations: 35.75 kB / 1.009 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.1756, allocations: 15.98 kB / 1.009 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1757, allocations: 20 kB / 1.009 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1758, allocations: 35.97 kB / 1.009 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1758, allocations: 23.97 kB / 1.009 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 9.254e-05/0.1759, allocations: 132.7 kB / 1.009 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3e-08/0.1759, allocations: 0 / 1.009 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001568/0.1775, allocations: 0.7106 MB / 1.01 GB, free: 12.98 MB / 0.9792 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.001977/0.1794, allocations: 433.6 kB / 1.011 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005181/0.18, allocations: 0.4939 MB / 1.011 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.18, allocations: 12 kB / 1.011 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.1801, allocations: 223.8 kB / 1.011 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.1807, allocations: 220.8 kB / 1.011 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1818, allocations: 0.9918 MB / 1.012 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.423e-05/0.1819, allocations: 121.6 kB / 1.013 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.1821, allocations: 90.53 kB / 1.013 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.1824, allocations: 217.2 kB / 1.013 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of SimCode: time 7.92e-07/0.1824, allocations: 3.938 kB / 1.013 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of Templates: time 0.03791/0.2203, allocations: 34.1 MB / 1.046 GB, free: 8.328 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.22342919325456]