Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00129/0.00129, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001853/0.003143, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001082/0.001082, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002551, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9906/0.9906, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1139/1.104, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.459/2.459, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.313/2.772, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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_latest_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_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.399e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1425/0.1425, allocations: 136.7 MB / 0.9524 GB, free: 9.316 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008033/0.1506, allocations: 7.161 MB / 0.9594 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.151, allocations: 19.81 kB / 0.9594 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.1515, allocations: 198.5 kB / 0.9596 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.1534, allocations: 1.057 MB / 0.9606 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.1558, allocations: 1.21 MB / 0.9618 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1571, allocations: 1.391 MB / 0.9632 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000522/0.1576, allocations: 375 kB / 0.9635 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1589, allocations: 0.9481 MB / 0.9644 GB, free: 12.92 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.1606, allocations: 0.9668 MB / 0.9654 GB, free: 11.95 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.1607, allocations: 52 kB / 0.9654 GB, free: 11.9 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.1625, allocations: 1.311 MB / 0.9667 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1626, allocations: 119.6 kB / 0.9668 GB, free: 10.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.1628, allocations: 211.6 kB / 0.967 GB, free: 10.27 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.164, allocations: 1.071 MB / 0.9681 GB, free: 9.191 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.164, allocations: 0 / 0.9681 GB, free: 9.191 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.164, allocations: 4 kB / 0.9681 GB, free: 9.188 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.164, allocations: 0 / 0.9681 GB, free: 9.188 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.001656/0.1657, allocations: 1.112 MB / 0.9692 GB, free: 8.027 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1657, allocations: 8.031 kB / 0.9692 GB, free: 8.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006997/0.1664, allocations: 228.1 kB / 0.9694 GB, free: 7.797 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.1668, allocations: 325.3 kB / 0.9697 GB, free: 7.449 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.1669, allocations: 37.69 kB / 0.9697 GB, free: 7.414 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1669, allocations: 60.38 kB / 0.9698 GB, free: 7.355 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.1676, allocations: 0.8344 MB / 0.9706 GB, free: 6.387 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1676, allocations: 3.938 kB / 0.9706 GB, free: 6.383 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.1676, allocations: 24 kB / 0.9706 GB, free: 6.359 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1677, allocations: 12 kB / 0.9706 GB, free: 6.348 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.1679, allocations: 219.2 kB / 0.9709 GB, free: 6.129 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.001583/0.1695, allocations: 1.92 MB / 0.9727 GB, free: 4.145 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.1697, allocations: 143.6 kB / 0.9729 GB, free: 3.996 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.1698, allocations: 76.81 kB / 0.9729 GB, free: 3.918 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/0.1721, allocations: 1.368 MB / 0.9743 GB, free: 2.551 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1722, allocations: 42.5 kB / 0.9743 GB, free: 2.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.364e-06/0.1722, allocations: 4 kB / 0.9743 GB, free: 2.496 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.01766/0.1898, allocations: 8.046 MB / 0.9822 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1898, allocations: 63.91 kB / 0.9822 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1901, allocations: 307.3 kB / 0.9825 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1901, allocations: 37.7 kB / 0.9826 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.1905, allocations: 273.3 kB / 0.9828 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.574e-05/0.1906, allocations: 186.4 kB / 0.983 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1907, allocations: 110.2 kB / 0.9831 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1908, allocations: 354.7 kB / 0.9835 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.1909, allocations: 81.28 kB / 0.9835 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1912, allocations: 313.4 kB / 0.9838 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.1915, allocations: 340.5 kB / 0.9842 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1915, allocations: 0 / 0.9842 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005863/0.1921, allocations: 451.6 kB / 0.9846 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1921, allocations: 8 kB / 0.9846 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1921, allocations: 4 kB / 0.9846 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.1924, allocations: 109.6 kB / 0.9847 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.1927, allocations: 139.8 kB / 0.9848 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.1944, allocations: 2.758 MB / 0.9875 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.1946, allocations: 31.95 kB / 0.9876 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1946, allocations: 19.98 kB / 0.9876 GB, free: 4.555 MB / 0.9636 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.000134/0.1948, allocations: 148.5 kB / 0.9877 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1949, allocations: 75.53 kB / 0.9878 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006172/0.1955, allocations: 482.3 kB / 0.9882 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1955, allocations: 7.938 kB / 0.9883 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1955, allocations: 4 kB / 0.9883 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1955, allocations: 3.984 kB / 0.9883 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1966, allocations: 0.8766 MB / 0.9891 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1966, allocations: 0 / 0.9891 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.1969, allocations: 115.9 kB / 0.9892 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.1969, allocations: 47.64 kB / 0.9893 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.1971, allocations: 56.81 kB / 0.9893 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1971, allocations: 15.98 kB / 0.9893 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009038/0.198, allocations: 1.391 MB / 0.9907 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.198, allocations: 7.938 kB / 0.9907 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.1986, allocations: 0.5771 MB / 0.9913 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.1987, allocations: 23.92 kB / 0.9913 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1988, allocations: 19.98 kB / 0.9913 GB, free: 492 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.1989, allocations: 39.88 kB / 0.9914 GB, free: 452 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.1989, allocations: 19.98 kB / 0.9914 GB, free: 432 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.053e-05/0.199, allocations: 132.7 kB / 0.9915 GB, free: 296 kB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.199, allocations: 0 / 0.9915 GB, free: 296 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001673/0.2007, allocations: 0.7652 MB / 0.9922 GB, free: 15.52 MB / 0.9792 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.002026/0.2027, allocations: 493.5 kB / 0.9927 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006268/0.2033, allocations: 0.5544 MB / 0.9933 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.2033, allocations: 11.94 kB / 0.9933 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.2036, allocations: 302 kB / 0.9936 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.2046, allocations: 1.13 MB / 0.9947 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006426/0.211, allocations: 1.036 MB / 0.9957 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.2111, allocations: 134 kB / 0.9958 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.2113, allocations: 111.2 kB / 0.9959 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.2117, allocations: 249 kB / 0.9961 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.2117, allocations: 0 / 0.9961 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of Templates: time 0.04322/0.255, allocations: 38.27 MB / 1.034 GB, free: 5.371 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.189110371284187]