Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.001164/0.001164, allocations: 82.64 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.001425/0.001425, allocations: 181 kB / 24.09 MB, free: 420 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.9395/0.9395, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.787/1.787, allocations: 377.9 MB / 0.6239 GB, free: 8.391 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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.803e-05, allocations: 5.125 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1229/0.1229, allocations: 134.2 MB / 0.9431 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.008903/0.1318, allocations: 7.028 MB / 0.9499 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005648/0.1324, allocations: 23.81 kB / 0.95 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.133, allocations: 202.4 kB / 0.9502 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1355, allocations: 1.131 MB / 0.9513 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.1383, allocations: 1.305 MB / 0.9525 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1398, allocations: 1.375 MB / 0.9539 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.1404, allocations: 378.2 kB / 0.9542 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.1423, allocations: 0.919 MB / 0.9551 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.1444, allocations: 1.22 MB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1445, allocations: 52 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.1465, allocations: 1.225 MB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.1467, allocations: 163.3 kB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.147, allocations: 255.5 kB / 0.958 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.1488, allocations: 1.328 MB / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1488, allocations: 0 / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.81e-07/0.1488, allocations: 0 / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1488, allocations: 3.938 kB / 0.9593 GB, free: 10.11 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.001244/0.1501, allocations: 0.9825 MB / 0.9602 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1501, allocations: 16.03 kB / 0.9603 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.1509, allocations: 231.9 kB / 0.9605 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.1514, allocations: 378.7 kB / 0.9608 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1514, allocations: 41.69 kB / 0.9609 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.1515, allocations: 60.31 kB / 0.9609 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.1525, allocations: 0.8625 MB / 0.9618 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1525, allocations: 3.938 kB / 0.9618 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.1526, allocations: 24 kB / 0.9618 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1526, allocations: 12 kB / 0.9618 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.1529, allocations: 226.6 kB / 0.962 GB, free: 7.082 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.002431/0.1554, allocations: 2.67 MB / 0.9646 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1557, allocations: 180.1 kB / 0.9648 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1558, allocations: 91.52 kB / 0.9649 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004037/0.1598, allocations: 1.392 MB / 0.9663 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.1599, allocations: 41.39 kB / 0.9663 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/0.1599, allocations: 0 / 0.9663 GB, free: 2.609 MB / 0.9167 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.02358/0.1835, allocations: 7.915 MB / 0.974 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1835, allocations: 137 kB / 0.9742 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1837, allocations: 370.4 kB / 0.9745 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.1838, allocations: 33.7 kB / 0.9745 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1839, allocations: 347.4 kB / 0.9749 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.184, allocations: 202.3 kB / 0.9751 GB, free: 9.551 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1841, allocations: 112 kB / 0.9752 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002763/0.1844, allocations: 0.5273 MB / 0.9757 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1845, allocations: 93.23 kB / 0.9758 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.1848, allocations: 358.7 kB / 0.9761 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.1851, allocations: 393.3 kB / 0.9765 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1851, allocations: 0 / 0.9765 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007043/0.1858, allocations: 0.5626 MB / 0.977 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1858, allocations: 8 kB / 0.9771 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1858, allocations: 7.938 kB / 0.9771 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.1861, allocations: 111.2 kB / 0.9772 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.1863, allocations: 115.8 kB / 0.9773 GB, free: 7.098 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.1883, allocations: 4.053 MB / 0.9812 GB, free: 2.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.1885, allocations: 23.98 kB / 0.9813 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1885, allocations: 23.98 kB / 0.9813 GB, free: 2.773 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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.0001562/0.1887, allocations: 196.5 kB / 0.9815 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.1888, allocations: 95.3 kB / 0.9816 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/0.1895, allocations: 0.5634 MB / 0.9821 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1895, allocations: 4 kB / 0.9821 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1895, allocations: 0 / 0.9821 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1895, allocations: 3.984 kB / 0.9821 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.191, allocations: 1.123 MB / 0.9832 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.191, allocations: 8.062 kB / 0.9832 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.1912, allocations: 99.88 kB / 0.9833 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.1914, allocations: 71.97 kB / 0.9834 GB, free: 500 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.1914, allocations: 16 kB / 0.9834 GB, free: 484 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009723/0.1924, allocations: 2.036 MB / 0.9854 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.1924, allocations: 7.938 kB / 0.9854 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/0.1931, allocations: 0.7283 MB / 0.9861 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.526e-05/0.1932, allocations: 47.78 kB / 0.9862 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1932, allocations: 16 kB / 0.9862 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1934, allocations: 20.05 kB / 0.9862 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.1935, allocations: 55.73 kB / 0.9862 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1935, allocations: 23.98 kB / 0.9863 GB, free: 13.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001276/0.1936, allocations: 247 kB / 0.9865 GB, free: 13.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1936, allocations: 0 / 0.9865 GB, free: 13.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002059/0.1957, allocations: 0.7574 MB / 0.9872 GB, free: 12.35 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (46): * Single equations (assignments): 45 * 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.002022/0.1977, allocations: 482.5 kB / 0.9877 GB, free: 11.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007814/0.1985, allocations: 0.6871 MB / 0.9884 GB, free: 11.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1985, allocations: 0 / 0.9884 GB, free: 11.15 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.1988, allocations: 330.1 kB / 0.9887 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.1995, allocations: 260.3 kB / 0.9889 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2015, allocations: 1.085 MB / 0.99 GB, free: 9.383 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.867e-05/0.2016, allocations: 134 kB / 0.9901 GB, free: 9.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.2019, allocations: 117.3 kB / 0.9902 GB, free: 9.125 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.2024, allocations: 302 kB / 0.9905 GB, free: 8.828 MB / 0.948 GB Notification: Performance of SimCode: time 1.293e-06/0.2024, allocations: 0 / 0.9905 GB, free: 8.828 MB / 0.948 GB Notification: Performance of Templates: time 0.04908/0.2515, allocations: 39.21 MB / 1.029 GB, free: 2.051 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.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.897742442786694]