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.001403/0.001403, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.003141, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008823/0.0008823, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002035, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.128, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.449/2.449, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.24/2.689, allocations: 145.9 MB / 0.817 GB, free: 4.215 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.323e-06/1.323e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.276e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1592/0.1592, allocations: 136.7 MB / 0.9518 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007758/0.167, allocations: 7.148 MB / 0.9587 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/0.1676, allocations: 23.81 kB / 0.9588 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.1681, allocations: 202.5 kB / 0.959 GB, free: 2.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.1701, allocations: 1.061 MB / 0.96 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.1724, allocations: 1.211 MB / 0.9612 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.1738, allocations: 1.383 MB / 0.9625 GB, free: 14.65 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.1743, allocations: 367 kB / 0.9629 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.1757, allocations: 0.9598 MB / 0.9638 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.1773, allocations: 0.9668 MB / 0.9648 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.1774, allocations: 52 kB / 0.9648 GB, free: 12.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.1791, allocations: 1.299 MB / 0.9661 GB, free: 11 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1792, allocations: 127.6 kB / 0.9662 GB, free: 10.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1794, allocations: 211.6 kB / 0.9664 GB, free: 10.67 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1807, allocations: 1.068 MB / 0.9674 GB, free: 9.602 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.1807, allocations: 0 / 0.9674 GB, free: 9.602 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1807, allocations: 0 / 0.9674 GB, free: 9.602 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.1807, allocations: 3.938 kB / 0.9674 GB, free: 9.598 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.001231/0.182, allocations: 1.112 MB / 0.9685 GB, free: 8.438 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.182, allocations: 12.62 kB / 0.9685 GB, free: 8.426 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.1826, allocations: 224.1 kB / 0.9688 GB, free: 8.207 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.183, allocations: 321.3 kB / 0.9691 GB, free: 7.863 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.183, allocations: 41.69 kB / 0.9691 GB, free: 7.824 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.1831, allocations: 60.36 kB / 0.9692 GB, free: 7.766 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.1837, allocations: 0.8304 MB / 0.97 GB, free: 6.801 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1838, allocations: 7.938 kB / 0.97 GB, free: 6.793 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.1838, allocations: 24 kB / 0.97 GB, free: 6.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1838, allocations: 16 kB / 0.97 GB, free: 6.754 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.1841, allocations: 219.1 kB / 0.9702 GB, free: 6.535 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.001916/0.186, allocations: 1.916 MB / 0.9721 GB, free: 4.555 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1862, allocations: 162.3 kB / 0.9722 GB, free: 4.387 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.1863, allocations: 69.72 kB / 0.9723 GB, free: 4.316 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002432/0.1887, allocations: 1.372 MB / 0.9737 GB, free: 2.945 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1887, allocations: 38.56 kB / 0.9737 GB, free: 2.898 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/0.1887, allocations: 0 / 0.9737 GB, free: 2.898 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.01762/0.2064, allocations: 8.007 MB / 0.9815 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2064, allocations: 55.91 kB / 0.9816 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2066, allocations: 311.2 kB / 0.9819 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.2066, allocations: 37.7 kB / 0.9819 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2068, allocations: 273.2 kB / 0.9822 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.2068, allocations: 190.3 kB / 0.9823 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.207, allocations: 110.2 kB / 0.9824 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.2071, allocations: 358.7 kB / 0.9828 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.2072, allocations: 77.28 kB / 0.9829 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2073, allocations: 293.5 kB / 0.9831 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2077, allocations: 336.5 kB / 0.9835 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2077, allocations: 0 / 0.9835 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006125/0.2083, allocations: 447.4 kB / 0.9839 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2083, allocations: 8 kB / 0.9839 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.2083, allocations: 4.375 kB / 0.9839 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.2086, allocations: 109.5 kB / 0.984 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.2089, allocations: 143.8 kB / 0.9841 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.2108, allocations: 2.765 MB / 0.9868 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.211, allocations: 24.11 kB / 0.9869 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.2111, allocations: 23.98 kB / 0.9869 GB, free: 5.02 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.0001838/0.2113, allocations: 148.5 kB / 0.987 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.2114, allocations: 83.66 kB / 0.9871 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/0.212, allocations: 490.2 kB / 0.9876 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.212, allocations: 7.938 kB / 0.9876 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.212, allocations: 4 kB / 0.9876 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.2121, allocations: 3.984 kB / 0.9876 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.2133, allocations: 0.8586 MB / 0.9884 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.2133, allocations: 4 kB / 0.9884 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.2135, allocations: 123.8 kB / 0.9886 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.2136, allocations: 47.64 kB / 0.9886 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.2138, allocations: 69.19 kB / 0.9887 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.2138, allocations: 12 kB / 0.9887 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008404/0.2146, allocations: 1.383 MB / 0.99 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.2146, allocations: 7.938 kB / 0.99 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.2153, allocations: 0.5695 MB / 0.9906 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.2154, allocations: 23.88 kB / 0.9906 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.2155, allocations: 20.05 kB / 0.9906 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.2156, allocations: 43.88 kB / 0.9907 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.2156, allocations: 19.98 kB / 0.9907 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001055/0.2157, allocations: 136.6 kB / 0.9908 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2157, allocations: 0 / 0.9908 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002283/0.218, allocations: 0.7574 MB / 0.9916 GB, free: 15.98 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.002377/0.2204, allocations: 0.4934 MB / 0.992 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000789/0.2212, allocations: 0.5503 MB / 0.9926 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.582e-05/0.2212, allocations: 12.06 kB / 0.9926 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.2215, allocations: 268.1 kB / 0.9928 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.2222, allocations: 307 kB / 0.9931 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.2288, allocations: 1.038 MB / 0.9942 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2289, allocations: 137.9 kB / 0.9943 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000365/0.2293, allocations: 105.9 kB / 0.9944 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.2297, allocations: 249 kB / 0.9946 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of SimCode: time 1.723e-06/0.2297, allocations: 0 / 0.9946 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of Templates: time 0.04409/0.2738, allocations: 38.3 MB / 1.032 GB, free: 6.852 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7206922294572]