Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001066/0.001066, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002415, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009117/0.0009117, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000869/0.001781, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9315/0.9315, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0961/1.028, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.773/1.773, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4621/2.235, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.401e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1495/0.1495, allocations: 136.6 MB / 0.8628 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005697/0.1552, allocations: 5.817 MB / 0.8684 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.1556, allocations: 23.81 kB / 0.8685 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.1561, allocations: 202.4 kB / 0.8687 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.1575, allocations: 0.7223 MB / 0.8694 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1595, allocations: 0.9405 MB / 0.8703 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.1609, allocations: 1.36 MB / 0.8716 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.1613, allocations: 379 kB / 0.872 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.1626, allocations: 0.9752 MB / 0.8729 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004369/0.163, allocations: 374.9 kB / 0.8733 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.1631, allocations: 52 kB / 0.8733 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.1649, allocations: 1.299 MB / 0.8746 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.165, allocations: 119.6 kB / 0.8747 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.1652, allocations: 211.6 kB / 0.8749 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.1665, allocations: 1.068 MB / 0.876 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.1665, allocations: 4 kB / 0.876 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1665, allocations: 0 / 0.876 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.1665, allocations: 0 / 0.876 GB, free: 14.04 MB / 0.8542 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.001156/0.1677, allocations: 1.112 MB / 0.877 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1677, allocations: 12.03 kB / 0.8771 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/0.1684, allocations: 232.2 kB / 0.8773 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.1688, allocations: 329.2 kB / 0.8776 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1688, allocations: 37.69 kB / 0.8776 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.1689, allocations: 56.38 kB / 0.8777 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.1695, allocations: 0.8266 MB / 0.8785 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1695, allocations: 7.875 kB / 0.8785 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.1695, allocations: 31.98 kB / 0.8785 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1695, allocations: 12 kB / 0.8785 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1698, allocations: 207.2 kB / 0.8787 GB, free: 10.99 MB / 0.8542 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.006245/0.176, allocations: 4.547 MB / 0.8832 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1762, allocations: 80.41 kB / 0.8833 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.1762, allocations: 49.3 kB / 0.8833 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.1784, allocations: 1.309 MB / 0.8846 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1784, allocations: 38.73 kB / 0.8846 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 2.505e-06/0.1784, allocations: 0 / 0.8846 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.00244/0.1808, allocations: 1.271 MB / 0.8859 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.1809, allocations: 59.34 kB / 0.8859 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1811, allocations: 323.2 kB / 0.8862 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1811, allocations: 37.7 kB / 0.8863 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1812, allocations: 289.1 kB / 0.8865 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.1812, allocations: 150.7 kB / 0.8867 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.1813, allocations: 102.2 kB / 0.8868 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.1814, allocations: 354.7 kB / 0.8871 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.1815, allocations: 69.28 kB / 0.8872 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1817, allocations: 314.1 kB / 0.8875 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.1819, allocations: 339 kB / 0.8878 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1819, allocations: 0 / 0.8878 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000548/0.1825, allocations: 406.3 kB / 0.8882 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1825, allocations: 8.531 kB / 0.8882 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1825, allocations: 8 kB / 0.8882 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.1828, allocations: 97.61 kB / 0.8883 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.183, allocations: 123.8 kB / 0.8884 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.1845, allocations: 2.759 MB / 0.8911 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1847, allocations: 23.98 kB / 0.8911 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1847, allocations: 23.92 kB / 0.8912 GB, free: 13.76 MB / 0.8698 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.0001382/0.1849, allocations: 152.4 kB / 0.8913 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.185, allocations: 52.02 kB / 0.8914 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.1854, allocations: 413.1 kB / 0.8917 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1854, allocations: 4 kB / 0.8918 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1855, allocations: 0 / 0.8918 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1855, allocations: 8 kB / 0.8918 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.1864, allocations: 0.8442 MB / 0.8926 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1864, allocations: 4 kB / 0.8926 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1866, allocations: 71.83 kB / 0.8927 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.1866, allocations: 39.75 kB / 0.8927 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/0.1868, allocations: 69.27 kB / 0.8928 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1868, allocations: 16 kB / 0.8928 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007601/0.1875, allocations: 1.395 MB / 0.8941 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.1875, allocations: 11.97 kB / 0.8941 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.188, allocations: 467.1 kB / 0.8946 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.188, allocations: 19.98 kB / 0.8946 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1882, allocations: 16 kB / 0.8946 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.1882, allocations: 39.86 kB / 0.8947 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1882, allocations: 23.92 kB / 0.8947 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001046/0.1883, allocations: 136.7 kB / 0.8948 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1883, allocations: 0 / 0.8948 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000706/0.1891, allocations: 263.8 kB / 0.8951 GB, free: 9.449 MB / 0.8698 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.0004455/0.1895, allocations: 258 kB / 0.8953 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.19, allocations: 0.5002 MB / 0.8958 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/0.1901, allocations: 12 kB / 0.8958 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.1902, allocations: 220.6 kB / 0.896 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.1908, allocations: 273.7 kB / 0.8963 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.1972, allocations: 1.051 MB / 0.8973 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1973, allocations: 129.8 kB / 0.8974 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002887/0.1976, allocations: 80.3 kB / 0.8975 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.1979, allocations: 217.2 kB / 0.8977 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/0.1979, allocations: 4 kB / 0.8977 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of Templates: time 0.01519/0.2131, allocations: 13.02 MB / 0.9104 GB, free: 9.758 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.ref.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.201746237464249]